rr_close_recommendation
Closes a replenishment recommendation with a reason when no purchase order or transfer is needed, removing it from open lists without creating anything.
Instructions
Close a recommendation with a reason when no purchase order or transfer is needed, for example because the stock was bought another way. Removes it from the open lists and creates nothing.
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": {
"action_id": "<action_id>",
"reason": "<reason>",
"idempotency_key": "<idempotency_key>",
"expected_updated_at": "<expected_updated_at>"
},
"name": "rr_close_recommendation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why no purchase order or transfer is needed. | |
| action_id | Yes | The recommendation id, from rr_list_recommendations. | |
| idempotency_key | Yes | A value you choose for this attempt. Repeating a call with the same value and the same arguments returns the first result and does nothing again. | |
| expected_updated_at | Yes | The action's updated_at as last read (rr_preview_recommendation or rr_get_recommendation). The call is refused if the action changed since, so it can be read again. |