get_metaobject
Retrieve a metaobject's display name, handle, type, publishable status, and truncated field values using its GID. Use list_metaobjects to find GIDs first.
Instructions
Fetch a single metaobject by GID and return its display name, handle, type, publishable status, and all of its field values. Field values longer than 120 characters are truncated in the rendered output (full values are still on the underlying record). Use list_metaobjects to discover GIDs first.
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": {
"id": "<id>"
},
"name": "get_metaobject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Metaobject GID, e.g. 'gid://shopify/Metaobject/123456'. Discover GIDs via list_metaobjects. |