skeleton
Inspect a file's API surface by extracting function signatures, class methods, and type definitions with line ranges—without reading the full body.
Instructions
Get detailed function signatures, class methods, and type definitions of a specific file WITHOUT reading the full body. Shows the API surface and line ranges. Signatures are normalized summaries, not exact edit anchors; use context(targets:[{file,start,end}]) for source text before editing.
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": "skeleton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Absolute project root. Omit only where this session started; required elsewhere and on every subagent call. | |
| file_path | Yes | Path to the file to inspect (relative to project root). | |
| exported_only | No | Only public declarations (TS/JS). Default: false. |