list_exports
List all exported symbols from a file or folder, including functions, classes, types, and consts. Returns name, signature, file, and line numbers to quickly discover file contents.
Instructions
List all exported symbols (functions, classes, types, consts) from a file or folder. Returns name, signature, file, line number, and total file lines. Use this instead of reading a whole file to discover what it 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": {
"path": "<path>"
},
"name": "list_exports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a file or folder to scan | |
| depth | No | Folder recursion depth (default 1, 0 = top-level only) | |
| filter | No | Optional regex to filter by name or signature (case-insensitive) |