- [x] Switch to use MCP style elicitation payload for mcp tool approvals. - [ ] TODO: Update the UI to support the full spec.
29 lines
No EOL
741 B
JSON
29 lines
No EOL
741 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"McpServerElicitationAction": {
|
|
"enum": [
|
|
"accept",
|
|
"decline",
|
|
"cancel"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"properties": {
|
|
"_meta": {
|
|
"description": "Optional client metadata for form-mode action handling."
|
|
},
|
|
"action": {
|
|
"$ref": "#/definitions/McpServerElicitationAction"
|
|
},
|
|
"content": {
|
|
"description": "Structured user input for accepted elicitations, mirroring RMCP `CreateElicitationResult`.\n\nThis is nullable because decline/cancel responses have no content."
|
|
}
|
|
},
|
|
"required": [
|
|
"action"
|
|
],
|
|
"title": "McpServerElicitationRequestResponse",
|
|
"type": "object"
|
|
} |