move_work_item_from_document
Remove a work item from its Polarion document, making it free-floating while preserving it for later reattachment. Also works for headings.
Instructions
Detach a work item from its document — the ONLY detach path.
NOT idempotent: an already free-floating item fails — confirm attachment first (get_work_item: non-empty space_id). The item is preserved and re-attachable via move_work_item_to_document. Headings are detachable too.
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>"
},
"name": "move_work_item_from_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview payload without calling Polarion. | |
| project_id | Yes | Polarion project ID. | |
| work_item_id | Yes | Work item ID (e.g. 'MCPT-042'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| moved | Yes | ||
| dry_run | Yes | ||
| payload_preview | Yes |