readToolFile
Reads a virtual .pyi stub to get a server's full signature list or one tool's callable name and arguments for executeTool; use getToolDocs when more detail is needed.
Instructions
Reads a virtual .pyi stub: servers/.pyi for the full server signature list, or servers//.pyi for a single tool (both listed by listToolFiles). Matching is case-insensitive and the .pyi extension is optional. Returns the authoritative callable name and arguments for executeTool as Server.tool_name(param=value). If the compact signature is insufficient, use getToolDocs. Workflow: listToolFiles -> readToolFile -> (optional) getToolDocs -> executeTool.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileName": "<fileName>"
},
"name": "readToolFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endLine | No | Where to stop reading — useful for large servers (leave empty for full view). | |
| fileName | Yes | Stub to read - e.g., servers/filesystem.pyi or servers/filesystem/read_file.pyi | |
| startLine | No | Where to start reading — useful for large servers (leave empty for full view). |