get_work_dependencies
Reads the dependencies of ONE task or plan in both directions and across BOTH sources: what it depends on (dependsOn) and what depends on it (dependents, through the inverse index), each edge with the other end, its state (open, satisfied, target-archived, lifted, target-missing), whether it blocks, its source (task-depends-on or work-dependencies), the title and the status of the other end, plus blockingCount and, when a loop already exists, the cycle as a path. A task depends on tasks (dependsOn of create_tasks/update_task) and on plans; a plan depends on plans, tasks and documents. An edge whose prerequisite is a DOCUMENT is never read as settled (the validation of documents is not read yet): an existing document reads open (blocking, reason document-not-read), a deleted one target-missing; the response carries limits when it applies. blockingCount follows the rule of list_work_plans for a plan (a plan waiting for one of its own tasks is not blocked by it; a cancelled plan counts 0). This is a work dependency between tasks and plans, NOT a canvas link between blocks (add_dependency). An ARCHIVED prerequisite that was not done BLOCKS (target-archived), here and in claim_task / executable alike, until a human lifts it through a decided arbitration. An unknown task or plan is refused. Modifies nothing.
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": {
"item": "<item>"
},
"name": "get_work_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | The task or the work plan whose dependencies and dependents are read. | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |