php-sdk/tests/Inspector/Stdio/snapshots/StdioEnvVariablesTest-tools_list.json
落月 2c16b3e084
[Server] Use getDescription to get all descriptions. (#188)
* Remove `getSummary` method and update descriptions in snapshots and code

* Add changelog entry

---------

Co-authored-by: Christopher Hertel <mail@christopher-hertel.de>
2026-01-11 22:08:05 +01:00

45 lines
1.2 KiB
JSON

{
"tools": [
{
"name": "process_data_by_mode",
"description": "Performs an action that can be modified by an environment variable.\n\nThe MCP client should set 'APP_MODE' in its 'env' config for this server.",
"inputSchema": {
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "some input data"
}
},
"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"
]
}
}
]
}