Skip to content

fix(model): accept URL elicitation requests without elicitationId - #1383

Open
Iamsohungrynow wants to merge 1 commit into
modelcontextprotocol:mainfrom
Iamsohungrynow:fix/url-elicitation-optional-id
Open

Iamsohungrynow wants to merge 1 commit into
modelcontextprotocol:mainfrom
Iamsohungrynow:fix/url-elicitation-optional-id

Conversation

@Iamsohungrynow

Copy link
Copy Markdown

2026-07-28 dropped elicitationId from url mode elicitation, so an input_required result with the spec's url example fell through to CustomResult and call_tool failed. a missing id now reads as empty and isn't serialized, kept it a String so the public api doesn't change

2026-07-28 removed elicitationId from URL mode elicitation requests, so the
spec's own URL example failed to parse and an input_required result carrying
it fell through to CustomResult. A missing id now reads as empty and an empty
id isn't serialized; the field stays a String so the public API is unchanged.
@Iamsohungrynow
Iamsohungrynow requested a review from a team as a code owner October 21, 2026 16:11
@github-actions github-actions Bot added T-test Testing related changes T-config Configuration file changes T-core Core library changes T-model Model/data structure changes labels Oct 21, 2026
@github-actions
github-actions Bot requested a review from DaleSeo October 21, 2026 16:11
@github-actions

Copy link
Copy Markdown
Contributor

@DaleSeo (assignment failed) is on triage rotation this week and is the reviewer for this one.

Labels come from the PR labeler. Please review the change.

Automated triage. Labels are a first pass and the assigned maintainer has the final say.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-config Configuration file changes T-core Core library changes T-model Model/data structure changes T-test Testing related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant