Get file outline
get_file_outlineRetrieve imports and symbol definitions for a specified file path in an indexed repository. Quickly understand its code structure and dependencies.
Instructions
Return imports and symbol definitions for an indexed repository-relative path.
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": {
"path": "<path>"
},
"name": "get_file_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| path | Yes | ||
| imports | Yes | ||
| symbols | Yes | ||
| language | Yes | ||
| documentId | Yes |