Delete Shopify Metafield
shopify_delete_metafieldDelete a metafield by GID to remove custom data from Shopify resources. Retrieve the GID first using the get metafields tool.
Instructions
Delete a metafield by GID. Get the ID first with shopify_get_metafields.
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": {
"metafieldId": "<metafieldId>"
},
"name": "shopify_delete_metafield"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metafieldId | Yes | Metafield GID |