shopifyql_query
Run ShopifyQL analytics queries against your Shopify store to retrieve sales and customer metrics, enabling AI assistants to analyze performance data via the Admin GraphQL API.
Instructions
Execute a ShopifyQL query for analytics (requires read_analytics scope)
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": "shopifyql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ShopifyQL query string |