delete_work_item_links
Delete up to 50 outgoing links from a source work item in Polarion. Specify each link by role and target work item; stale references are reported instead of failing.
Instructions
Delete 1-50 outgoing links from one source work item.
Outgoing only — delete a back link from its source item instead. Refs from list_work_item_links(direction="forward") or a prior create. Stale refs never fail: results split into deleted_link_ids / not_found_link_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": {
"project_id": "<project_id>",
"work_item_id": "<work_item_id>",
"links": "<links>"
},
"name": "delete_work_item_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | Yes | Existing outgoing links to delete (1-50). | |
| dry_run | No | Preview payload without deleting; the pre-read still queries Polarion. | |
| project_id | Yes | Source work item's project ID. | |
| work_item_id | Yes | Source work item ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| dry_run | Yes | ||
| link_ids | No | ||
| payload_preview | No | ||
| deleted_link_ids | No | ||
| not_found_link_ids | No |