list_metafield_definitions
List all product metafield definitions with namespace, key, type, name, description, and validations. Filter by namespace for specific results.
Instructions
List all metafield definitions for products at the store level. Returns namespace, key, type, name, description, and validations via GraphQL.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_metafield_definitions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | Filter by namespace (e.g. 'custom'). |