create_metaobject_definition
Create structured metaobject definitions to organize custom data in Shopify, specifying fields and types.
Instructions
Create a new metaobject definition that establishes the structure for custom data objects
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": {
"name": "<name>",
"type": "<type>",
"fieldDefinitions": "<fieldDefinitions>"
},
"name": "create_metaobject_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the metaobject definition | |
| type | Yes | Unique type identifier (use $app: prefix for app-exclusive definitions) | |
| description | No | Description of the metaobject definition | |
| displayNameKey | No | Key of the field to use as display name | |
| fieldDefinitions | Yes | Field definitions for the metaobject |