codegraph_list
List all symbols in a file or directory, sorted by line number, to get an overview of file contents. Filter by symbol kind if needed.
Instructions
List all symbols in a file or directory. Returns symbols sorted by line number. Use this to get an overview of what a file contains.
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_path": "<file_path>"
},
"name": "codegraph_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter by symbol kind (Function, Class, Method, etc.). | |
| limit | No | ||
| team_id | No | The team ID for isolation. | |
| file_path | Yes | The file path (relative to repo root) to list symbols for. |