Commit 970851e
Make mode in elicitation backwards compatible (modelcontextprotocol#1863)
* Make mode in elicitation backwards compatible
* Make mode optional in ElicitRequestFormParams for backwards compatibility
For backwards compatibility with servers that don't include the mode field
in form-based elicitation requests, mode is now optional and defaults to 'form'.
This aligns with the spec language stating that an empty elicitation capability
object is equivalent to declaring support for form mode only.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* Update elicitation docs to reflect optional mode field
Clarify that servers MAY omit the mode field for form mode elicitation
requests, and clients MUST treat such requests as form mode.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>1 parent f874264 commit 970851e
File tree
4 files changed
+9
-8
lines changed- docs/specification/draft
- client
- schema/draft
4 files changed
+9
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
96 | | - | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
0 commit comments