Remove Customer
remove_customerArchive or permanently delete a customer: archive makes them inactive and recoverable, while delete cascades contacts and returns conflict options for confirm, archive, or cancel.
Instructions
Remove a customer by archiving (sets phase to inactive, recoverable) or permanently deleting. On first call, returns a conflict with ARCHIVE / DELETE / CANCEL options. Pass mode after the user decides. Contacts cascade on delete; history is preserved on archive.
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": {
"customer_id": "<customer_id>"
},
"name": "remove_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Deprecated: use `resolution`. 'archive' / 'delete' / 'cancel'. | |
| resolution | No | Resolution after the removal conflict: 'confirm' deletes (recoverable for 30 days), 'archive' hides it (recoverable), 'cancel' aborts. | |
| customer_id | Yes | Customer UUID to remove. |