File skeleton (bodies elided)
get_file_skeletonMap a file's structure quickly: every declaration's signature with indentation, bodies replaced by line markers, for a token-efficient overview. Use for files over ~300 lines.
Instructions
Structural skeleton of a file: every declaration's signature with its indentation preserved and bodies replaced by ' … {line}'. Turns a 2,000-line file into a readable map for a fraction of the tokens. Use this before any full read of a file over ~300 lines.
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": {
"path": "<path>"
},
"name": "get_file_skeleton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |