list_imports
Extract all import and export statements from a source file to reveal its dependency edges. Provide a file path to analyze its external connections.
Instructions
Dependency edges out of one file, plus exports where the language has them.
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 | ||
| max_tokens | No |