nav_symbols
Retrieve a live hierarchical outline of document symbols for a given file, bypassing the need to read the entire file to understand its structure.
Instructions
Live outline of one file (document symbols, hierarchical). Always current — prefer this over reading a whole file to learn its structure.
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": {
"file": "<file>"
},
"name": "nav_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Repo-relative path, posix separators | |
| tokenBudget | No | Max tokens for the response. Lists are truncated to fit, with a note saying what was dropped and how to get it back. |