Look up a GraphQL type
graphql_introspectLook up Shopify Admin GraphQL schema type fields, arguments, and enum values before querying so requests use real fields instead of guessed names.
Instructions
Describes one type of the Admin GraphQL schema: its fields with their types and arguments, or its enum values. Use it before graphql_query so fields are looked up, not guessed.
Start from "QueryRoot" to see every top-level query, then follow the type names, e.g. "Order", "ProductVariant", "InventoryLevel", "OrderSortKeys".
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": {
"type_name": "<type_name>"
},
"name": "graphql_introspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type_name | Yes | Exact type name, case-sensitive, e.g. "Order". |