Link a task to a decision
link_decisionLinks a BPMN task to a DMN decision, converting it to a business rule task, or unlinks it when the decision ID is empty. Writes Camunda 8 zeebe:calledDecision metadata.
Instructions
Links a task to a DMN decision of the diagram (a plain task becomes a business rule task), or unlinks it when decisionId is empty. The link is written for BPMN-Pilot and for Camunda 8 (zeebe:calledDecision). Use get_decisions for the ids.
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": {
"elementId": "<elementId>",
"decisionId": "<decisionId>"
},
"name": "link_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | Id of a diagram element, as returned by get_shapes | |
| decisionId | Yes | Id of the decision, or an empty string to unlink |