Delete custom field
delete_custom_fieldDelete a custom field from a product by product ID and exact field name. Requires explicit confirmation before removal.
Instructions
Delete custom field. Reviewed native DELETE /products/:product_id/custom_fields/:name; scope: edit_products. Requires explicit per-call confirmation.
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": {
"product_id": "<product_id>",
"name": "<name>"
},
"name": "delete_custom_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact existing field name; encoded as one URL segment. | |
| account | No | Exact private profile label; never inherited credentials, ownership or scope proof. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| product_id | Yes | Exact opaque provider ID, including native = padding. |