Codebase outline
scratchbook_outlineMap a codebase's structure by listing each file's imports and top-level symbols with line numbers. Use it to understand project organization without reading every file.
Instructions
Structural map of a codebase (or a subtree / single file): each file's imports and top-level symbols with line numbers. Use it to grasp how a project is organised without reading every file. Provide path to focus on a file or a directory prefix.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scratchbook_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path or directory prefix to focus on, e.g. 'lib/ai'. | |
| limit | No | Max files to list (default 60). | |
| project | No | Absolute project root. Defaults to the server's cwd. |