check_session
Call a server's read-only tools as an agent would, validate each result against its output schema, and report tool-menu changes caused by each call.
Instructions
Call an MCP server's tools as an agent would and check what comes back: its tools marked readOnlyHint whose arguments the schema can fill are called, each result is checked against the tool's outputSchema, and the menu is listed after each call, with each change reported with the call that caused it. Calls only read-only tools; never one marked openWorldHint unless open_world is set. A command server is started by running command as given, so only pass a command you would run yourself.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Folder to run from: where the server starts, toolmenu.config.json is read and relative paths resolve. Default: where toolmenu mcp runs. | |
| env | No | Environment variables for a command server. It gets a minimal environment plus these. | |
| url | No | A Streamable HTTP endpoint: https://example.com/mcp. Give this or command. | |
| command | No | The command that starts a stdio server, one word per item: ["node", "dist/server.js"]. Give this or url. | |
| headers | No | HTTP headers for a url server: {"Authorization": "Bearer ..."}. | |
| max_calls | No | At most this many calls (default 20). | |
| open_world | No | Also call read-only tools marked openWorldHint (web search, fetch): they may cost API credits. |