Get Shopify Metafields
shopify_get_metafieldsRetrieve metafields for any Shopify resource by providing its owner ID GID, with optional namespace filtering and result limits.
Instructions
Get metafields for any Shopify resource. Requires read access on the owner resource type (e.g. read_products for product 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": {
"ownerId": "<ownerId>"
},
"name": "shopify_get_metafields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| ownerId | Yes | Owner GID (product, collection, customer, order, etc.) | |
| namespace | No | Filter by namespace |