Cancel Replenishment Plan
cancel_replenishment_planCancel a credential-owned Inventory Mission Control plan. Live and expired drafts may be cancelled; committed, superseded and already-cancelled plans cannot. The preview shows the plan's revision and line counts; the commit refuses if the plan was repriced since. This sets the plan status to cancelled and does not delete any data or touch drafts a plan already created. Requires Write + replenishment.prepare.
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": {
"planId": "<planId>"
},
"name": "cancel_replenishment_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planId | Yes | Credential-owned replenishment plan id (GUID). | |
| preview | No | Step 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call. | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt to commit. | |
| previewReceipt | No | Step 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| planId | No | ||
| status | No | ||
| effects | No | ||
| preview | No | ||
| warnings | No | ||
| expiresAt | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No |