Trace dependencies
layerz_dependenciesReturns an item's dependency graph, like Excel trace precedents / dependents: precedents (items its formula references) and dependents (items referencing it). depth (1–5) walks transitively, direction restricts to one side.
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": {
"uid": "<uid>"
},
"name": "layerz_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Item UID to trace (role-prefixed forms accepted) | |
| depth | No | Transitive depth to walk (1 = direct only). Default: 1. | |
| model_id | No | Target model UUID. Required for user-scoped API keys; validated against the bound model for model-scoped keys. | |
| direction | No | 'precedents' = what feeds the item, 'dependents' = what references it, 'both' (default). |