create_relation
Create a relation between two work packages by specifying source and target IDs and a relation type such as blocks, follows, or relates.
Instructions
Create a relation between two work packages
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": {
"from_id": "<from_id>",
"to_id": "<to_id>",
"type": "<type>"
},
"name": "create_relation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Relation type: follows, precedes, blocks, relates, duplicates, requires, partof, includes | |
| to_id | Yes | The numeric ID of the target work package | |
| from_id | Yes | The numeric ID of the source work package |