get_dependencies
Analyze code dependencies by identifying imports and requires for files or specific symbols to understand what external code is needed.
Instructions
Find all dependencies (imports/requires) for a file or symbol. Useful for understanding what code needs.
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": {
"filePath": "<filePath>"
},
"name": "get_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | File path to analyze dependencies for | |
| symbol | No | Optional: specific symbol to trace dependencies for |