list_imports
Get a complete list of import statements from a TypeScript/JavaScript file, including each imported binding and the module path.
Instructions
Lists all import statements in a TypeScript/JavaScript file with their bindings and module paths
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_imports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the TS/JS file |