Delete custom field
delete_custom_fieldDelete a custom-field definition from the organization. If the field is mandatory and already has values stored on entities the service will reject the delete with a clear reason. Returns a preview unless confirm=true is set. Admin role required.
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": {
"custom_field_id": "<custom_field_id>"
},
"name": "delete_custom_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true to perform the action. Omit or false returns a preview only — nothing is written. | |
| custom_field_id | Yes | Id of the custom field definition to delete. | |
| idempotency_key | No | Optional caller-supplied key; retrying with the same key returns the original result instead of acting twice. |