generate_skeleton_view
Generate a concise skeleton view of a source file by stripping function and method bodies, preserving declarations and JSDoc comments with line numbers.
Instructions
Generates a token-optimized representation of a source file by stripping function and method bodies, keeping only JSDocs and declarations with line numbers.
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": {
"project_root": "<project_root>",
"file_path": "<file_path>"
},
"name": "generate_skeleton_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the target source file | |
| project_root | Yes | Absolute path to the TypeScript project root (must contain tsconfig.json) | |
| include_jsdoc | No | Whether to preserve JSDoc annotations | |
| include_private_members | No | Whether to list private/internal symbols |