files_dependencies
Traces the dependency graph around a cell. 'forward' returns what the code cell at the given cell READS (its input ranges, as 'reads'); 'reverse' returns the code cells that DEPEND ON the given cell (as 'read_by'); 'both' (default) returns both. Use to understand impact before editing a cell or to find a code cell's inputs. Read-only. Signature: files_dependencies(file_uuid, cell, sheet?, direction?).
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_uuid": "<file_uuid>",
"cell": "<cell>"
},
"name": "files_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | Yes | Cell in A1 notation, e.g. 'B2'. | |
| sheet | No | Sheet name (defaults to the first sheet). | |
| direction | No | forward = what the cell reads; reverse = what depends on the cell; both (default). | |
| file_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_uuid | Yes | ||
| dependencies | Yes |