kanbn_set_relations
Replace a task's entire relations set with the supplied dependencies or links. Define all connections at once; any existing relations not included are removed.
Instructions
Authoritatively replace a task's entire relations collection with the supplied array. An empty array clears all relations. This is replace-all: supply every desired edge.
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>",
"relations": "<relations>"
},
"name": "kanbn_set_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to the project root directory | |
| taskId | Yes | ID or filename of the task to set relations on | |
| relations | Yes | Task relations: an array of {task, type} edges (e.g. {task: 'model', type: 'depends-on'}). WARNING: on edit this replaces the WHOLE relations collection — supply the full array, or use kanbn_add_relation / kanbn_remove_relation for merges. |