documentSymbols
List every top-level symbol and its range in a file within a repo to map out code structure.
Instructions
List every top-level symbol (with its range) defined in path within repo.
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": {
"repo": "<repo>",
"path": "<path>"
},
"name": "documentSymbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| repo | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||