get_file_outline
Retrieve a complete file outline listing functions, classes, imports, exports with line numbers for quick code navigation.
Instructions
Get the structure of a file: functions, classes, imports, exports 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": {
"directory": "<directory>",
"filePath": "<filePath>"
},
"name": "get_file_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Relative path to the file within the project | |
| directory | Yes | Absolute path to the indexed project |