Delete Custom Field (preview, then confirm)
delete_custom_fieldDelete a custom contact field and the values stored in it. Fails if the field is used in a webform. Two steps: call first without confirm to get a preview (nothing is deleted), get an explicit yes from the user, then call again with confirm: true.
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": {
"field_id": "<field_id>"
},
"name": "delete_custom_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to delete. Leave false first to get a preview | |
| dry_run | No | Show what would be deleted without deleting, even when confirm is true | |
| field_id | Yes | Custom field (property) ID |