create_relation
Link two tasks in Vikunja to define dependencies, hierarchies, or connections using relation types like subtask, blocking, duplicate, or related.
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": "create_relation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | The ID of the task | |
| otherTaskId | Yes | The ID of the other task | |
| relationKind | Yes | The type of relation |