Follow the import graph
snapshot_dependentsShows a file's imports and which files import it, so you can see what breaks if you change it without reading the code.
Instructions
For one file in the snapshot: what it imports, and which files import it. Answers "what breaks if I change this?" without reading the parts.
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": "snapshot_dependents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Snapshot-relative path, exactly as snapshot_locate or manifest.files[] reports it. | |
| root | No | Repository root. Defaults to the directory this server was started in. | |
| limit | No | Maximum entries per direction. | |
| outDir | No | Snapshot directory, relative to the root, and it must resolve inside the served repository. Defaults to the project configuration's outDir. | |
| direction | No | Which edges to return. | both |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| imports | No | ||
| importedBy | No | ||
| unresolved | No |