fix: apply elicitation schema defaults for missing fields in client response (#661)
Apply default values from the elicitation schema to the client's response when the handler returns `Accept` with missing fields closes #414 ## How Has This Been Tested? integration and conformance tests ## Breaking Changes none ## Types of changes - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Checklist - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [x] New and existing tests pass locally - [x] I have added appropriate error handling - [x] I have added or updated documentation as needed
This commit is contained in:
parent
9c4a2394b4
commit
e21d2298a1
1 changed files with 248 additions and 3 deletions
|
|
@ -2,5 +2,4 @@
|
|||
# Add entries here as tests are identified as known SDK limitations
|
||||
server: []
|
||||
|
||||
client:
|
||||
- elicitation-sep1034-client-defaults
|
||||
client: []
|
||||
|
|
|
|||
Loading…
Reference in a new issue