get_file_skeleton
Extract all class definitions and function signatures from a source file, omitting implementation bodies, for structured code analysis.
Instructions
Get all classes and function signatures in a source file without their bodies.
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": {
"file_path": "<file_path>"
},
"name": "get_file_skeleton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | "full" (default, verbose, includes syntax warnings) or "compact" (abbreviated, fewer tokens, no syntax warnings) | full |
| file_path | Yes | path relative to the repo root (e.g., "src/main.py" or "calculator.py") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |