task_relationship_add
Create an approved typed relationship between two non-Trash tasks and log it on both.
Instructions
Create an approved typed relationship between two non-Trash tasks and log it on both 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>",
"targetTaskId": "<targetTaskId>",
"relationTypeCode": "<relationTypeCode>"
},
"name": "task_relationship_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Numeric source task ID. | |
| targetTaskId | Yes | Numeric related target task ID. | |
| relationTypeCode | Yes | Stable relationship type code from task_relationship_options. |