shopify_metafields
Set or delete up to 25 Shopify metafields per owner GID in one call. Preview changes with dryRun before applying, then read back results.
Instructions
Set (metafieldsSet) and/or delete (metafieldsDelete) up to 25 metafields each, for any owner GID. Read them with shopify_get resource metafields. Defaults to dryRun: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": {
"store": "<store>"
},
"name": "shopify_metafields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | ||
| store | Yes | ||
| delete | No | ||
| dryRun | No | True (the default) returns a before/after preview without changing anything in Shopify. Pass false to apply the change; the tool then reads the result back. |