document_symbols
Outline a file's declared types, methods, and fields with line numbers to reveal its API surface without reading the body.
Instructions
Outline one file: every type, method, and field it declares, with line numbers. The API surface of the file without reading its body.
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": {
"file": "<file>"
},
"name": "document_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path relative to the repo root |