Delete a catalog
delete_catalogDelete one of the merchant's catalogs. It leaves their list at once, its public link stops working, these tools cannot reach it afterwards, and the plan slot it used is freed. Destructive, so it runs only on a call with confirm: true; without it nothing is deleted and the answer lists what would go under requiresConfirmation, for the merchant to approve. Only the owner can delete — a catalog shared with the merchant is refused.
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": {
"catalogId": "<catalogId>"
},
"name": "delete_catalog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true once the merchant has agreed to the deletion listed under requiresConfirmation | |
| catalogId | Yes | Catalog id, as returned by list_catalogs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| applied | Yes | ||
| catalog | No | What would be deleted, while waiting for confirmation | |
| deleted | No | ||
| catalogId | No | ||
| confirmWith | No | The arguments that carry the change out once the merchant agrees | |
| requiresConfirmation | No | Present when nothing was changed: the consequences to show the merchant before calling again with confirm: true |