relate_task
Auto-route relevant targets into the correct section: active tasks become typed relation links, notes become references, and completed tasks are refused.
Instructions
WRITE. Auto-routes a relevant target into the right section by what it is: an active task goes to "## Related" (a typed link), a note goes to "## References", and a completed task is refused. Prefer this when you just know a target is relevant and do not want to choose the section yourself. Returns routedTo: "related" | "references".
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": {
"sourceProjectId": "<sourceProjectId>",
"sourceTaskId": "<sourceTaskId>",
"targetProjectId": "<targetProjectId>",
"targetTaskId": "<targetTaskId>"
},
"name": "relate_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desc | No | ||
| type | No | ||
| agent | No | ||
| sourceTaskId | Yes | ||
| targetTaskId | Yes | ||
| sourceProjectId | Yes | ||
| targetProjectId | Yes |