get_file_dependents
Identify which files import a given file by retrieving incoming file-level import edges. Use it to assess impact before refactoring or removing a module.
Instructions
Files that import this file (incoming file-level import edges).
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": {
"file_path": "<file_path>"
},
"name": "get_file_dependents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name/path (default: active). | |
| file_path | Yes | Relative path to the file. | |
| max_results | No | Maximum number of results to return (0 = unlimited, default 0). |