outline
Map a file's symbols with signatures and line ranges, or a directory's files with symbol counts, so agents can inspect structure before reading full files and reduce context tokens.
Instructions
Symbol map of a file (signatures + line ranges) or dir (files with symbol counts). Use before reading files.
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": "outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | file or dir; relative to first root | |
| depth | No | nesting depth (file) / dir depth |