Shopify Admin GraphQL query
shopify_admin_graphql_queryExecute a read-only Shopify Admin GraphQL query to retrieve store data. Supports bounded cursor pagination for large result sets.
Instructions
Executes one read-only Shopify Admin GraphQL query against the configured store. The store and API version cannot be overridden. Optional bounded cursor pagination requires explicit connection metadata.
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": {
"query": "<query>"
},
"name": "shopify_admin_graphql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A Shopify Admin GraphQL operation. URLs and credentials are not accepted. | |
| variables | No | Optional GraphQL variables as a JSON object. | |
| pagination | No | ||
| operationName | No |