file_outline
Generate a hierarchical outline of a file's classes, functions, and methods with line ranges and signatures. Read this summary instead of the entire file to understand its structure.
Instructions
Tree of classes/functions/methods in a file with line ranges, signatures, reference counts, imports and importers. Read this instead of the file.
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": "file_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| show_imports | No | ||
| include_private | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |