add_thread_dependency
Creates a task-dependency edge to block a thread from being claimed until its prerequisite reaches a terminal state; both threads must share a workspace.
Instructions
Add a task-dependency edge: the thread depends on depends_on_thread_id and stays blocked (won't be handed out by claim_next) until that dependency reaches a terminal state. Both threads must be in the same workspace.
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": {
"thread_id": "<thread_id>",
"depends_on_thread_id": "<depends_on_thread_id>"
},
"name": "add_thread_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | the dependent task | |
| depends_on_thread_id | Yes | the task it depends on |