Ask the merchant to undo
request_undoAsk the merchant to undo a publish (put back what it replaced, or remove an item it created). This does not undo by itself: the merchant clicks Undo on the card or on the link this returns.
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": {
"draft_id": "<draft_id>"
},
"name": "request_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | Which connected store (its myshopify address, e.g. other-store.myshopify.com). Leave it out for the default store; list_stores shows them. | |
| draft_id | Yes |