Clear cart config
clear_cart_configRemove a workspace's cart configuration entirely, resetting it to never-configured; use force: true to clear it when orders or carts block removal.
Instructions
Remove the workspace's commerce settings entirely, putting the cart back to never-configured. A workspace with orders or carts is refused unless force: true is passed. To change individual settings rather than remove them, use update_cart_config.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clear_cart_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Clear even when the workspace has orders or carts. Without it, a workspace with either is refused and the error names which one is in the way. |