delete_field
Permanently delete one custom field from a checkout page, form, or event. Existing submissions keep their answers. Destructive and irreversible: confirm with the user, and prefer update_field with hidden: true when the field should just stop showing.
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": {
"pageId": "<pageId>",
"pageType": "<pageType>",
"fieldId": "<fieldId>"
},
"name": "delete_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The ID of the page the field belongs to. | |
| fieldId | Yes | The ID of the field. Field IDs are listed under `fields` in the page detail response from get_checkout_page, get_form, or get_event. | |
| pageType | Yes | The kind of page the field belongs to: `checkout`, `form`, or `event`. Use the type of the tool you fetched the page with (get_checkout_page, get_form, get_event). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |