Add elicitation timeout coordination via notifications/elicitation/pe…#2188
Open
ArsalanShakil wants to merge 1 commit intomodelcontextprotocol:mainfrom
Open
Conversation
…nding This change addresses issue modelcontextprotocol#2006 by adding a mechanism for servers to coordinate client-side timeouts when elicitation is required during request processing. Changes: - Add ElicitationPendingNotification to schema/draft/schema.ts - Add example JSON files for the new notification - Update elicitation documentation with timeout coordination guidance - Update lifecycle documentation with elicitation timeout handling section The new notifications/elicitation/pending notification allows servers to inform clients when an elicitation is about to be issued for an in-flight request. Clients can then suspend or extend the timeout for that request until the elicitation completes. Closes modelcontextprotocol#2006
ec3c3df to
1aa0acb
Compare
Member
|
Hi, @ArsalanShakil! 👋 Thank you for your proposal, but changes to the spec must follow the SEP process. |
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.
This change addresses issue #2006 by adding a mechanism for servers to coordinate client-side timeouts when elicitation is required during request processing.
Changes:
The new notifications/elicitation/pending notification allows servers to inform clients when an elicitation is about to be issued for an in-flight request. Clients can then suspend or extend the timeout for that request until the elicitation completes.
Closes #2006
Motivation and Context
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context