trace_dependency
Trace a dependency change to identify all lessons that depend on it, so you know which lessons need review.
Instructions
Causal Chain — find all lessons that depend on a given prerequisite. "What lessons are affected if node version changes?" When a dependency changes (new version, different provider, new OS), call this to see which lessons need review. Lessons store dependencies via the depends_on field in learn_from_attempts.
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": {
"instance_id": "<instance_id>",
"dependency": "<dependency>"
},
"name": "trace_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dependency | Yes | Dependency to trace (e.g. "node:>=20", "docker:running", "wireguard:active") | |
| instance_id | Yes | UUID of the cache instance | |
| mark_review | No | If true, marks all dependent lessons as needs_review (default: false) |