list_methods
List all methods of a specified class in a TypeScript or JavaScript file. Provide the file path and class name to retrieve the method list for structural analysis.
Instructions
Lists all methods for a specific class in a TypeScript/JavaScript file
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>",
"type": "<type>"
},
"name": "list_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the TS/JS file | |
| type | Yes | The class name |