get_file_structure
Get an overview of functions, classes, and key definitions in a source file with line numbers, so you can understand a large file before editing.
Instructions
Get an overview of functions, classes and key definitions in a source file. Returns symbol names with line numbers. Use this to understand a large file before reading or editing specific sections.
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": {
"server": "<server>",
"path": "<path>"
},
"name": "get_file_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path | |
| server | Yes | Server name | |
| language | No | Language hint (auto-detected from extension if omitted) |