task_relation_update
Creates or changes a relation between two tasks or bugs. The role is relative to the current task (key), with the names used in the task's relations: dependencies - the current task waits for the other; blockedTasks - the other waits for it; duplicateOf / duplicates; regressionOf / regressions; foundDuring / findings; related - neutral. For a bug, foundDuring is the task during which it was found and regressionOf the task that introduced the defect (by git history only). Without a relation of that role one is created (desc - explanation); an existing one gets newRole and desc. Moving it away from dependencies / blockedTasks unblocks the waiting task with notifications, as in the web app.
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": {
"key": "<key>",
"otherKey": "<otherKey>",
"role": "<role>"
},
"name": "task_relation_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Current task number — the one the role refers to | |
| desc | No | Explanation; null or empty string — remove; omitted — unchanged | |
| role | Yes | Relation role relative to the current task, as in its relations | |
| newRole | No | New role of an existing relation; omitted — unchanged | |
| otherKey | Yes | Related task or bug number |