Repository navigation
Accept input answers that carry MCP result metadata - #314
Merged
Merged
Conversation
An answer to an input request was checked as a strict object, so an answer with _meta, which MCP allows on every result, counted as unanswered. Codex adds _meta to some elicitation results: in ChatGPT, approving a question in the native dialog returned the same question again. Answers now ignore fields other than the action and content.
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | f2b0629 | Nov 22 2026, 10:17 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
In ChatGPT, approving a service's question in the native dialog shows the same question again, indefinitely: the answer never reaches the service. The MCP Apps form fallback in the same client works.
The platform parses each answer as a strict
{ action, content }object. MCP allows_metaon every result, and Codex, which ChatGPT uses for MCP, adds it to elicitation results when it has metadata for them (ElicitationResponse.meta, serialized unlessNone). An answer with_metatherefore fails the parse, counts as unanswered, and the service asks again.What changes
inputResponseaccepts and drops fields other thanactionandcontent. The answer handed to the service is unchanged, and content is still checked against the requested form.Verification
_metareach the service without it. It fails without the change.pnpm checkpnpm exec vitest run apps/control-plane packagesRUN_SERVICE_TESTS=1runtime service tests (workerd and celld)Not covered by tests


Confidence Score: 5/5
The PR appears safe to merge.Summary
Answers carrying MCP result metadata now pass through
inputResponse. Extra fields are dropped before the service receives the answer.Reviews (1) · Last reviewed commit: "Accept input answers that carry MCP resu..." · Reviewed by Greptile