feat: Add output schema support to MCP tools (#153)
This commit is contained in:
parent
4c3e5e61c7
commit
c0938a19bd
1 changed files with 605 additions and 55 deletions
|
|
@ -14,6 +14,31 @@
|
|||
"required": [
|
||||
"input"
|
||||
]
|
||||
},
|
||||
"outputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"mode": {
|
||||
"type": "string",
|
||||
"description": "The processing mode used"
|
||||
},
|
||||
"processed_input": {
|
||||
"type": "string",
|
||||
"description": "The processed input data"
|
||||
},
|
||||
"original_input": {
|
||||
"type": "string",
|
||||
"description": "The original input data (only in default mode)"
|
||||
},
|
||||
"message": {
|
||||
"type": "string",
|
||||
"description": "A descriptive message about the processing"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"mode",
|
||||
"message"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue