list_functions
Lists all functions and methods in a TS/JS file with signatures and line ranges, helping you quickly understand code structure and locate definitions.
Instructions
Lists all functions and methods in a TypeScript/JavaScript file with their signatures and line ranges
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_functions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the TS/JS file |