task_relations_add
Create a relation between two tasks by specifying source task ID, target task ID, and relation type such as subtask, blocking, or follows.
Instructions
Create a relation between two tasks
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": {
"taskId": "<taskId>",
"otherTaskId": "<otherTaskId>",
"relationKind": "<relationKind>"
},
"name": "task_relations_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | The source task ID | |
| otherTaskId | Yes | The target task ID | |
| relationKind | Yes | Relation type: subtask, parenttask, related, duplicateof, duplicates, blocking, blocked, precedes, follows, copiedfrom, copiedto |