get_symbols
List all symbols (functions, classes, etc.) defined in a TypeScript file. Control output volume with limit and offset parameters for paging.
Instructions
List all symbols (functions, classes, etc.) defined in a file as a flat list. For hierarchical/nested structure, use get_outline instead.
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": "get_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the file (relative to project root) | |
| limit | No | Maximum results to return (default: 200, max: 2000) | |
| offset | No | Number of results to skip, for paging through a large set (default: 0) |