outline
Inspect a code file or directory structure without reading it, including classes, methods with line ranges, and categorized calls; target one method to view its call graph.
Instructions
Structure of a code file or directory without reading it: classes/components, methods with line ranges, calls by category. With method: that one method's call graph. Start here once you know the file (else locate). Example: {"path": "app/Order.php", "method": "cancel"}. Pitfall: give the method in method, not as path::method; on a large directory use format: summary or a subdirectory.
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 |
|---|---|---|---|
| full | No | Disable the 400-line output cap (use only when needed). | |
| path | Yes | File or directory, relative to the project root. | |
| layer | No | Only files of this layer (see `project_profile`), e.g. `service`, `service,repository`, or one ecosystem: `controller:js`. | |
| format | No | outline (default): classes, methods with line ranges, calls by category; api: public surface; flow: control branches; summary: one line per file; hotspots: most-called; stats: counts. | |
| method | No | Only this method/function (file paths only). | |
| project | No | Registered project alias (see `projects`); default: the server's working directory. |