outline
Get all symbols from code files in a directory with a single call instead of listing and reading each file. Supports recursive outlining with configurable depth.
Instructions
Use INSTEAD OF listing dir + reading each file. One call returns all symbols (classes, functions, methods, routes) for every code file in a directory. Supports recursive with max_depth.
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 | Directory path | |
| recursive | No | Recursively outline subdirectories (default: false) | |
| max_depth | No | Max recursion depth when recursive=true (default: 2, max: 5) |