get_file_outline
Get high-level symbol declarations with line ranges and signatures for any TypeScript/JavaScript file, avoiding raw file dumps.
Instructions
Returns high-level symbol declarations (functions, classes, interfaces, types, enums, variables) with line ranges and signatures without dumping raw file 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": {
"filePath": "<filePath>"
},
"name": "get_file_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Relative or absolute path to the TypeScript/JavaScript file. | |
| workspaceRoot | No | Optional workspace root directory. |