Remove Custom Data
remove-custom-dataRemove a named custom-field value from a Chatway visitor/contact. Use update-custom-data instead when the value should change rather than be removed.
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": {
"visitor_id": "<visitor_id>",
"name": "<name>"
},
"name": "remove-custom-data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the custom field whose value should be removed. | |
| visitor_id | Yes | UUID of the visitor/contact, for example `contact.id` from `get-conversation` or `id` from `search-contacts`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visitor_id | No | Visitor/contact UUID. | |
| removed_field | No | Name of the removed custom field. |