cancel_purchase_order
Cancel a purchase order and keep it on record as cancelled without deletion. Complete the action with the confirmation code from a preview.
Instructions
Cancel a purchase order. It stays on record as cancelled; nothing is deleted.
Args: po: Purchase order ID. reason: Why. confirmation_code: From preview("cancel_purchase_order", ).
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": {
"po": "<po>",
"reason": "<reason>"
},
"name": "cancel_purchase_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| po | Yes | ||
| reason | Yes | ||
| confirmation_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |