{
  "server": "shopify",
  "url": "https://setup.shopify.com/mcp",
  "date": "2026-12-04",
  "protocolVersion": "2026-07-28",
  "serverInfo": {
    "name": "shopify-mcp-server",
    "version": "1.0.0",
    "icons": [
      {
        "src": "https://setup.shopify.com/icons/shopify.png?v=f9f77672bd2b",
        "mimeType": "image/png",
        "sizes": [
          "192x192"
        ]
      },
      {
        "src": "https://setup.shopify.com/icons/shopify.svg?v=bcb5b56d2f50",
        "mimeType": "image/svg+xml",
        "sizes": [
          "any"
        ]
      }
    ]
  },
  "listChangedDeclared": false,
  "toolCount": 24,
  "outputSchemaCoveragePct": 75,
  "tools": [
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_products"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Update the status of multiple products at once. Accepts a list of product IDs or a collectionId and a target status (ACTIVE, DRAFT, or ARCHIVED). Each product is updated individually so partial failures are possible. When using collectionId, only the first 50 products in the collection will be updated.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "collectionId": {
            "description": "GID of a collection whose products should be updated (e.g. gid://shopify/Collection/123). When used, only the first 50 products in the collection will be updated.",
            "type": "string"
          },
          "productIds": {
            "description": "List of product GIDs to update. At least one of productIds or collectionId must be provided.",
            "items": {
              "type": "string"
            },
            "maxItems": 50,
            "type": "array"
          },
          "status": {
            "description": "Target status for all products",
            "enum": [
              "ACTIVE",
              "DRAFT",
              "ARCHIVED"
            ],
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "name": "bulk-update-product-status",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "failed": {
            "type": "number"
          },
          "results": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "error": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "id": {
                  "type": "string"
                },
                "imageUrl": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "success": {
                  "type": "boolean"
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "title",
                "imageUrl",
                "success",
                "error"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "succeeded": {
            "type": "number"
          },
          "targetStatus": {
            "type": "string"
          },
          "totalRequested": {
            "type": "number"
          }
        },
        "required": [
          "targetStatus",
          "totalRequested",
          "succeeded",
          "failed",
          "results"
        ],
        "type": "object"
      },
      "title": "Bulk Update Product Status"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_digital_products_product",
              "write_products",
              "read_apps"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Create a draft product through Shopify Digital Products. The result includes the product and first variant identifiers used to attach and deliver the digital file. If the merchant is selling access to something already on the web — a Notion template, an online course, a booking page — pass it as 'link' and skip the file upload; the link must be hosted by a provider Digital Products supports, and if it is not, the reply names the ones that are. To set the price and the buyer-facing description, call graphql_mutation: productUpdate with productId as its 'id' and descriptionHtml for the description, and productVariantsBulkUpdate with productId and variantId for the price — prices are in the shop's own currency, so ask the merchant for the amount rather than guessing one. Do not change the product's title: Digital Products keeps its own copy of it. This tool does not publish the draft.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "link": {
            "description": "An external link to deliver instead of a file. Omit it when the merchant will upload a file.",
            "properties": {
              "name": {
                "description": "Buyer-facing name for the link. Buyers see the URL itself when this is omitted.",
                "maxLength": 255,
                "minLength": 1,
                "type": "string"
              },
              "url": {
                "description": "The link the buyer receives after purchase. Must be an http(s) URL hosted by a supported provider.",
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "url"
            ],
            "type": "object"
          },
          "title": {
            "description": "Title for the new draft digital product.",
            "maxLength": 255,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "title"
        ],
        "type": "object"
      },
      "name": "create-digital-product",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "automaticDelivery": {
            "type": "boolean"
          },
          "created": {
            "type": "boolean"
          },
          "errors": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "code": {
                  "type": "string"
                },
                "field": {
                  "anyOf": [
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "code",
                "field",
                "message"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "linkAttached": {
            "type": "boolean"
          },
          "linkHost": {
            "type": [
              "string",
              "null"
            ]
          },
          "productId": {
            "type": [
              "string",
              "null"
            ]
          },
          "productTitle": {
            "type": [
              "string",
              "null"
            ]
          },
          "shopDomain": {
            "type": "string"
          },
          "variantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "variantTitle": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "created",
          "shopDomain",
          "productId",
          "productTitle",
          "variantId",
          "variantTitle",
          "errors"
        ],
        "type": "object"
      },
      "title": "Create Digital Product"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Create a new Shopify store the user can start building right away, without signing in or creating an account. Returns a link to preview it, and the store's domain, which is its ID for tool calls. It's where someone with no Shopify store connected starts when they want to sell something or start a business.\n\nWHEN TO USE:\n  - The user says they want to sell something, e.g. \"I want to sell handmade soy candles\", and has no Shopify store connected.\n  - The user wants to start a business, open a shop or start selling online, and has no Shopify store connected.\n  - The user asks you to create, make or build a store, and has no Shopify store connected.\n  - The user asks to see store designs, or what their store could look like, and has no Shopify store connected. A new store's preview link shows its design.\n  - The user wants to try building a store before signing up.\n\nA mockup or a described design is not a store; a store's design is its preview link.\n\nWHEN NOT TO USE:\n  - A store is already connected and the user wants to work on it. Call graphql_query and graphql_mutation without `store`.\n  - A store was already created in this conversation. Keep using its domain; a new one starts empty.\n\nBEFORE CALLING:\n  - Work out which country the user's business is in. Use it if the user has said, or if you already know where they are. Otherwise, ask them. If they don't say, call without `country`.\n\nAFTER CREATING:\n  - Start by telling the user the new store is an empty template with no products yet, show it, then offer to add products next. Don't show images, mockups or your own UI for the store or its products, before creating it: the store starts empty, and its preview is what it really looks like.\n  - To show the user the store, give them the preview link. Until the store is saved to a Shopify account, don't show or link its domain to the user: it's only the store's ID for tool calls, and opening it in a browser doesn't show the preview.\n  - To make changes to the store, pass its domain as `store` to graphql_schema, graphql_query and graphql_mutation. They and any other tool that takes `store` work on it, such as import-mock-shop-catalog for a sample catalog if it lists a `store` input: the store tools without `store` need a sign-in and start one.\n\nAnyone with this store's address can view and edit it, and can get a link to save it, until it's saved to a Shopify account. Tell the user so, and that saving it keeps it.\nThe preview link works for about 30 minutes. When the user wants to see the store again, its products or a change you made after that, call store_info with its domain and give them the new preview link. That call also gets a link to save the store to a Shopify account.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "country": {
            "description": "The country the user's business is in, as a two-letter ISO 3166-1 alpha-2 code in capitals, e.g. 'CA' for Canada or 'GB' for the United Kingdom (not 'UK'). Country names like 'Canada' and three-letter codes like 'CAN' are refused. It sets the store's country, currency and shipping zones, and test checkout in the preview only works when the store's country matches the user's. Pass it when the user has said where they or their business are, or when you already know where the user is, e.g. 'CA' if they say they're in Toronto. Don't guess it from the language they write in or the store's name. If you don't know, ask the user. If they don't say, omit it, and the store is created in the United States.",
            "type": "string"
          },
          "name": {
            "description": "Name for the store, e.g. 'Ember \u0026 Oak'. Use a name the user gave; omit it otherwise.",
            "maxLength": 255,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "create_store",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "domain": {
            "type": "string"
          },
          "previewUrl": {
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "domain",
          "previewUrl"
        ],
        "type": "object"
      },
      "title": "Create Preview Store"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "Find ready-made sample catalogs (from mock.shop) that fit the merchant's business, so they can pick one to seed their store with realistic products and collections instead of starting empty.\n\nWHEN TO USE:\n  - The merchant has a new or empty store and wants sample products, a starter catalog, demo data, or \"something to look at\" before adding their own products.\n  - The merchant describes what they sell (or plan to sell) and wants a store populated quickly.\n\nWHEN NOT TO USE:\n  - The merchant wants one-off placeholder products rather than a whole catalog — use find-sample-product.\n  - The merchant wants real products to source or resell — this returns sample data, not supplier inventory.\n  - The merchant wants to browse products already in their store — use search-products.\n\nINPUT: a short description of the business or what it sells (e.g. \"handmade soy candles\", \"supplies for a new puppy\", \"streetwear for teens\"). Take it from what the merchant said. If they gave no hint at all, ask one question — what do they plan to sell? — then call.\n\nOUTPUT: up to `limit` catalogs (default 3), best match first. Each has a name, short description, categories, collection titles, product and collection counts, currency, a `storefrontUrl` the merchant can open to browse it as a live storefront, and a `lookUrl` that opens the ready-made store design the catalog comes with, or null if it has none the import can copy. Present them as a short list with links and ask the merchant which one they want: if import-mock-shop-catalog lists an `include` input and the merchant is starting a new store, link a catalog's `lookUrl` where it has one, since it shows the design and products their store would get; otherwise link its `storefrontUrl`. Two catalogs with the same name are one catalog in two designs: say so. Pass the chosen catalog's `subdomain` to import-mock-shop-catalog to copy it into their store. To start a new store from it, make the store with create_store if there isn't one yet, then import into it with its domain as `store` if import-mock-shop-catalog lists `store`. For a catalog with a `lookUrl`, if the import also lists `include`, ask whether they want only its sample products or its products and its design too once they pick it, and pass their answer as `include`: \"products\" or \"both\". An empty list means nothing matched well — suggest the merchant describe their business differently.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "limit": {
            "description": "How many catalogs to return. Defaults to 3; leave unset unless the merchant asks for more options.",
            "maximum": 10,
            "minimum": 1,
            "type": "integer"
          },
          "query": {
            "description": "What the merchant sells or plans to sell, in a few words (e.g. 'handmade soy candles', 'supplies for a new puppy'). Plain language; no need to singularize or reformat.",
            "maxLength": 500,
            "minLength": 1,
            "pattern": ".+",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "type": "object"
      },
      "name": "find-mock-shop-catalogs",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "catalogs": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "categories": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "collectionCount": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "collectionTitles": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "currencyCode": {
                  "type": "string"
                },
                "lookUrl": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "productCount": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "shortDescription": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "storefrontUrl": {
                  "type": "string"
                },
                "subdomain": {
                  "type": "string"
                }
              },
              "required": [
                "subdomain",
                "name",
                "shortDescription",
                "categories",
                "collectionTitles",
                "productCount",
                "collectionCount",
                "currencyCode",
                "storefrontUrl",
                "lookUrl"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "query": {
            "type": "string"
          }
        },
        "required": [
          "query",
          "catalogs"
        ],
        "type": "object"
      },
      "title": "Find Mock Shop Catalogs"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_digital_products_product",
              "write_products",
              "read_apps"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "Show the merchant a card for a digital product: its media image, title, price, status, and what the buyer receives.\nCall this after each step of the digital product flow — after the price is set, after the file is attached, after the media image is added, and after publishing — so the merchant sees the listing as it stands. Every field is read back from Shopify, so the card is current rather than a summary of what was asked for.\nThis only reads. It changes nothing about the product.\nThe media image is optional: ask the merchant whether they want one, and add it only if they say yes.\nIt must be a JPEG, PNG, GIF or WebP image. Refuse a PDF or any other file as the media image.\nTo add one, upload it with upload_file, then add that file to the product with graphql_mutation and fileUpdate's referencesToAdd, as upload_file says.\nA file added that way goes after the product's existing media, so on a product that already has a media image buyers still see the old one first. Tell the merchant which image is now in front, and if they want the new one there, move it first with productReorderMedia.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "productId": {
            "description": "Product GID returned by create-digital-product.",
            "pattern": "^gid:\\/\\/shopify\\/Product\\/\\d+$",
            "type": "string"
          }
        },
        "required": [
          "productId"
        ],
        "type": "object"
      },
      "name": "get-digital-product",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "currencyCode": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "defaultVariant": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "files": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "bytes": {
                          "default": null,
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "bytes"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "id": {
                    "type": "string"
                  },
                  "links": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "deliveryUrl": {
                          "type": "string"
                        },
                        "name": {
                          "default": null,
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "deliveryUrl",
                        "name"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "title",
                  "files",
                  "links"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "description": {
            "type": "string"
          },
          "mediaImageStatus": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "mediaImageUrl": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "price": {
            "default": null,
            "type": [
              "string",
              "null"
            ]
          },
          "productId": {
            "type": "string"
          },
          "shopDomain": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "shopDomain",
          "productId",
          "title",
          "description",
          "status",
          "price",
          "currencyCode",
          "mediaImageUrl",
          "mediaImageStatus",
          "defaultVariant"
        ],
        "type": "object"
      },
      "title": "Get Digital Product"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_products"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "Report whether the Digital Products app is installed on the authenticated store.\nCall this once after the merchant says they have finished the Shopify Admin install flow that open-digital-products-install handed them. Do not poll it.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {},
        "type": "object"
      },
      "name": "get-digital-products-install-status",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "installed": {
            "type": "boolean"
          }
        },
        "required": [
          "installed"
        ],
        "type": "object"
      }
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_files"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "List the files the merchant added to the store's Files in Shopify admin since the since value upload_file returned, with each one's URL.\nCall this when the merchant says their upload is done, passing the since value upload_file returned. Nothing tells this conversation when they finish, so this is how you learn the result.\nLead with the file's URL when you tell the merchant; you can offer its Shopify admin link second. Never show file IDs or gid:// values; keep them for tool calls.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "since": {
            "description": "The `since` value upload_file returned, unchanged. Never make one up.",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "store": {
            "description": "Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.",
            "type": "string"
          }
        },
        "required": [
          "since"
        ],
        "type": "object"
      },
      "name": "get_uploaded_files",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "files": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "adminUrl": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attachableAsProductMedia": {
                  "type": "boolean"
                },
                "contentType": {
                  "enum": [
                    "IMAGE",
                    "FILE",
                    "VIDEO",
                    "MODEL_3D"
                  ],
                  "type": "string"
                },
                "createdAt": {
                  "type": "string"
                },
                "fileId": {
                  "type": "string"
                },
                "fileStatus": {
                  "type": "string"
                },
                "filename": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "fileId",
                "filename",
                "url",
                "adminUrl",
                "contentType",
                "fileStatus",
                "createdAt",
                "attachableAsProductMedia"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "hasMore": {
            "type": "boolean"
          },
          "since": {
            "type": "string"
          }
        },
        "required": [
          "since",
          "files",
          "hasMore"
        ],
        "type": "object"
      },
      "title": "Get Uploaded Files"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "read_all_orders",
              "read_analytics",
              "read_apps",
              "write_checkout_branding_settings",
              "write_checkouts",
              "read_companies",
              "write_content",
              "write_customers",
              "write_discounts",
              "write_draft_orders",
              "write_files",
              "write_fulfillments",
              "write_inventory",
              "read_legal_policies",
              "write_locales",
              "write_locations",
              "write_marketing_events",
              "write_markets",
              "write_merchant_managed_fulfillment_orders",
              "write_metaobject_definitions",
              "write_metaobjects",
              "write_online_store_navigation",
              "write_order_edits",
              "write_orders",
              "write_price_rules",
              "write_products",
              "write_publications",
              "read_reports",
              "write_returns",
              "read_rollouts",
              "write_shipping",
              "write_themes",
              "write_translations",
              "write_validations",
              "write_collective.access",
              "write_digital_products_product",
              "write_theme_agent.access"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": false
      },
      "description": "Execute a GraphQL mutation against the Shopify Admin API when no dedicated built-in tool covers the request.\nIMPORTANT: you MUST load the admin-graphql skill before your first write, and read the guide it lists for the task's area (stock, discounts or collections, for example). Never write before you have read them.\nBefore execution, look the mutation up once with graphql_schema (operation 'mutation' and its field_name): the lookup returns its arguments, its full description and every input type it takes. Look anything else up only if you are unsure of it or the mutation is rejected. search_docs_chunks can supplement the lookup with examples but never replaces it.\nSome dangerous mutations are blocked for safety (e.g. refunds, gift card writes, staff management, theme deletion, theme publishing). Theme file writes (themeFilesCopy, themeFilesUpsert) are allowed on unpublished themes only — writes that target the live/MAIN theme are blocked. If a mutation is blocked, inform the user and suggest they perform the action in Shopify admin.\nBefore a mutation that archives, deletes, unpublishes or overwrites values (status, price, stock, content) on more than one record, or on records the user didn't name (for example \"archive all my drafts\"), read them with graphql_query, tell the user how many and which ones it will change, and wait for a yes; the host's own confirmation prompt does not replace this. A write the user asked for plainly that only adds (creating the items they listed, adding a tag, adding products to a collection) needs no extra question.\nAfter constructing the mutation, call this tool to execute it. setup-mcp validates the operation against its pinned Admin schema before sending it to Admin.\nA mutation rejected before execution was never sent: correct it and run it again. If a mutation fails after it was sent, or its result is unclear (a Shopify service error or a timeout, for example), do not send it again: read the affected records with graphql_query to see whether the change was made, and tell the user what you found.\nAfter executing, present the results clearly rather than dumping raw JSON.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "query": {
            "description": "GraphQL mutation string",
            "minLength": 1,
            "type": "string"
          },
          "store": {
            "description": "Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.",
            "type": "string"
          },
          "variables": {
            "additionalProperties": {},
            "description": "GraphQL variables object",
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "query"
        ],
        "type": "object"
      },
      "name": "graphql_mutation",
      "title": "GraphQL Mutation (Advanced)"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "read_all_orders",
              "read_analytics",
              "read_apps",
              "write_checkout_branding_settings",
              "write_checkouts",
              "read_companies",
              "write_content",
              "write_customers",
              "write_discounts",
              "write_draft_orders",
              "write_files",
              "write_fulfillments",
              "write_inventory",
              "read_legal_policies",
              "write_locales",
              "write_locations",
              "write_marketing_events",
              "write_markets",
              "write_merchant_managed_fulfillment_orders",
              "write_metaobject_definitions",
              "write_metaobjects",
              "write_online_store_navigation",
              "write_order_edits",
              "write_orders",
              "write_price_rules",
              "write_products",
              "write_publications",
              "read_reports",
              "write_returns",
              "read_rollouts",
              "write_shipping",
              "write_themes",
              "write_translations",
              "write_validations"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "Execute a read-only GraphQL query against the Shopify Admin API when no dedicated built-in tool covers the request.\nAlways load the admin-graphql skill's references/analytics.md before you answer a question about sales, orders, customers, sessions or other store figures over a period.\nRaw schema introspection (__schema / __type) is not allowed through this tool. Write the query from what you know of the Admin API and run it: this tool checks it against the server's pinned Admin schema before sending it to Admin, and a rejected query comes back with the validation errors. Use graphql_schema when you are unsure of a field, argument or type, or to fix a rejected query. Reuse details you already have. A query the user wants written but not run is never checked: look up the fields it uses with graphql_schema before showing it. search_docs_chunks supplements the schema with examples but cannot replace it.\nEvery connection returns at most 100 items per page, whether first or last is a literal or a variable and however deeply nested; a larger page is refused before it runs. For more items select pageInfo { hasNextPage endCursor }, then use the returned endCursor as the after variable.\nBefore your first query, load the admin-graphql skill, and read the guide it lists for the task's area (collections, for example). Present results clearly to the user rather than dumping raw JSON. For writes, look the mutation up with graphql_schema using operation 'mutation', then use graphql_mutation.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "after": {
            "description": "Pagination cursor from a previous response's endCursor",
            "type": "string"
          },
          "first": {
            "default": 10,
            "description": "Number of items to return (1-100, default 10)",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "query": {
            "description": "GraphQL query string",
            "minLength": 1,
            "type": "string"
          },
          "store": {
            "description": "Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.",
            "type": "string"
          },
          "variables": {
            "additionalProperties": {},
            "description": "GraphQL variables object",
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "query"
        ],
        "type": "object"
      },
      "name": "graphql_query",
      "title": "GraphQL Query (Advanced)"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "read_all_orders",
              "read_analytics",
              "read_apps",
              "write_checkout_branding_settings",
              "write_checkouts",
              "read_companies",
              "write_content",
              "write_customers",
              "write_discounts",
              "write_draft_orders",
              "write_files",
              "write_fulfillments",
              "write_inventory",
              "read_legal_policies",
              "write_locales",
              "write_locations",
              "write_marketing_events",
              "write_markets",
              "write_merchant_managed_fulfillment_orders",
              "write_metaobject_definitions",
              "write_metaobjects",
              "write_online_store_navigation",
              "write_order_edits",
              "write_orders",
              "write_price_rules",
              "write_products",
              "write_publications",
              "read_reports",
              "write_returns",
              "read_rollouts",
              "write_shipping",
              "write_themes",
              "write_translations",
              "write_validations"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "Discover queries, mutations, and named types in the Shopify Admin GraphQL schema. This tool only inspects the schema; it never executes an operation. Every call needs operation or type_name; a call with neither is rejected.\nSet operation to 'query' or 'mutation' to list top-level field names, optionally filtered by a case-insensitive search. Supply an exact field_name to get its arguments and description, every input object and enum those arguments use (inputTypes, each listed once), and the names and types of its return type's fields (returns; a connection is shown as its node type). An input type marked isOneOf: true takes exactly one of its fields, set to a non-null value; send only one. Do not look up the types inputTypes lists or the return type itself again. Look up only what returns does not cover: a field's own arguments, such as first on a nested connection (type_name and field_name), and the concrete types an interface or union lists in possibleTypes. If the response says expansion is omitted_size_limit, inspect the types you need with type_name instead. Skip the name list if the field is already known.\nSet operation to 'schema' and type_name to a namedType returned by discovery to inspect one named type. Objects and interfaces list field names and return types; input objects list input fields and isOneOf without recursively expanding nested types. Enums list values, and unions/interfaces list possible types. Supply field_name for one field's or enum value's details.\nUse this tool when you are unsure of a field, argument or type, to fix an operation graphql_query or graphql_mutation rejected, and to look a mutation up before running it. You do not need to look anything up before writing a query you are confident in: the execution tools check every operation against the schema first. Inspect only types a field_name lookup did not already return, such as an object two levels down. Load the admin-graphql skill before your first lookup: it lists the scalars (Money, Decimal, DateTime, URL, JSON and others) and the connection and payload shapes that need no lookup. Skip built-in scalars (String, Int, Float, Boolean, ID). QueryRoot and Mutation must be discovered with operation 'query' or 'mutation'.\nAfter constructing an operation, call graphql_query or graphql_mutation to execute it. Those execution tools validate before sending the operation to Admin. search_docs_chunks supplements discovery with examples but never replaces it. Documentation questions go straight to search_docs_chunks.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "field_name": {
            "description": "Exact operation field, object/input field, or enum value to inspect",
            "minLength": 1,
            "type": "string"
          },
          "operation": {
            "description": "Discover query fields, mutation fields, or a named type. Send operation or type_name on every call",
            "enum": [
              "query",
              "mutation",
              "schema"
            ],
            "type": "string"
          },
          "search": {
            "description": "Case-insensitive substring to filter query or mutation names",
            "minLength": 1,
            "type": "string"
          },
          "store": {
            "description": "Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.",
            "type": "string"
          },
          "type_name": {
            "description": "Named type returned by discovery; required when operation is 'schema'",
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "graphql_schema",
      "title": "Explore GraphQL Schema"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_products",
              "write_publications"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Copy a mock.shop sample catalog's starter set — its first 2 collections and up to 8 products from each (with variants, prices, images), so at most 16 products — into the merchant's connected store, or, with `store`, into a store made with create_store, publishing everything to the Online Store. With include: \"both\", it copies the whole catalog instead and gives that store the catalog's ready-made design. Use it after the merchant picks a catalog from find-mock-shop-catalogs, and, for a catalog with a lookUrl, says whether they want its design too. One call does the whole import, except with include: \"both\", which can take a few calls.\n\nRE-RUNNING IS SAFE AND NEVER OVERWRITES: calling again (after a timeout or `partial: true`) adds only what is missing — products not yet imported, memberships and publications not yet made. A product already imported from this catalog is left exactly as it is — including any edits the merchant has made since, and including whether it is published — and counted under `unchanged`; if it is not published, it is listed under `unpublished` with how to publish it. A product the merchant already has at the same handle from elsewhere is left untouched and reported under `skipped`. A collection the merchant already has at the same handle is reused when its title matches the catalog's (missing imported products are added to it) and skipped when it does not. Collections are created only with their imported products, so none is ever left empty. A design changed since an earlier import gave the store one, and theme edits not yet saved, are never replaced: the design is left out and the result says why.\n\nINPUT: `subdomain` from the chosen catalog (e.g. \"pets\"), `store` to import into a store made with create_store instead of the connected one, and `include`, \"products\" or \"both\", the user's answer to whether they want the catalog's design too.\n\nOUTPUT: counts of products created/unchanged/skipped and collections created/reused/skipped, `currency`, and, with `store`, `look`, which says what happened to the store's design. If `partial` is true the import stopped early: wait as the result says, then call again with the same arguments, including `store` and `include` if you passed them. Prices are copied as plain amounts; when `currency.mismatch` is true tell the merchant prices came from a ${currency.source} catalog and were not converted, so they should review them.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "include": {
            "description": "What to bring over from the catalog. \"products\", the default, copies its starter set and leaves the store's design as it is. \"both\" copies every product and collection of the catalog, since its design links to them, and gives the store the catalog's ready-made design, the one its lookUrl from find-mock-shop-catalogs shows, replacing the store's home page, header, footer, colours and fonts. \"both\" is only for a catalog with a lookUrl and a store made with create_store, passed as `store`, never a connected store. Don't choose for the user: once they pick a catalog that has a lookUrl, ask whether they want only its sample products or its products and its design, and pass what they answer. Don't offer the design when the store's design was already changed in this conversation, by you or by an earlier import, unless they ask to replace an earlier import's design with this one; one changed since that import is never replaced.",
            "enum": [
              "products",
              "both"
            ],
            "type": "string"
          },
          "store": {
            "description": "Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.",
            "type": "string"
          },
          "subdomain": {
            "description": "The catalog's subdomain from find-mock-shop-catalogs (e.g. 'pets'). Not a URL.",
            "maxLength": 63,
            "minLength": 1,
            "pattern": "^[a-z0-9][a-z0-9-]*$",
            "type": "string"
          }
        },
        "required": [
          "subdomain"
        ],
        "type": "object"
      },
      "name": "import-mock-shop-catalog",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "catalogName": {
            "type": "string"
          },
          "collections": {
            "additionalProperties": false,
            "properties": {
              "created": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "reused": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "skipped": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "handle": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "handle",
                    "reason"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "unpublished": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "handle": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "handle",
                    "reason"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "created",
              "reused",
              "skipped",
              "unpublished"
            ],
            "type": "object"
          },
          "currency": {
            "additionalProperties": false,
            "properties": {
              "destination": {
                "type": "string"
              },
              "mismatch": {
                "type": "boolean"
              },
              "source": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "destination",
              "mismatch"
            ],
            "type": "object"
          },
          "look": {
            "additionalProperties": false,
            "properties": {
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "enum": [
                  "not_requested",
                  "applied",
                  "pending",
                  "not_applied"
                ],
                "type": "string"
              },
              "themeId": {
                "type": "string"
              }
            },
            "required": [
              "status",
              "reason"
            ],
            "type": "object"
          },
          "partial": {
            "type": "boolean"
          },
          "products": {
            "additionalProperties": false,
            "properties": {
              "created": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "processed": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "skipped": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "handle": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "handle",
                    "reason"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "unchanged": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "unpublished": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "handle": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "handle",
                    "reason"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "processed",
              "created",
              "unchanged",
              "skipped",
              "unpublished"
            ],
            "type": "object"
          },
          "retry_after_seconds": {
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "subdomain": {
            "type": "string"
          }
        },
        "required": [
          "subdomain",
          "catalogName",
          "products",
          "collections",
          "partial",
          "currency"
        ],
        "type": "object"
      },
      "title": "Import Mock Shop Catalog"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_products"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Get a Shopify Admin install link for Digital Products on the authenticated store.\nUse this only after the merchant has explicitly asked to install or prepare Digital Products for their store.\nThe app identity is fixed by Shopify; this tool cannot install arbitrary apps and does not install anything silently.\nRelay the link to the merchant and ask them to come back here once the install is done. They must complete the Shopify Admin install flow before Digital Products connector tools can continue; call get-digital-products-install-status once they say they have.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {},
        "type": "object"
      },
      "name": "open-digital-products-install",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "alreadyInstalled": {
            "type": "boolean"
          },
          "appDescription": {
            "type": "string"
          },
          "appImageUrl": {
            "format": "uri",
            "type": "string"
          },
          "appName": {
            "type": "string"
          },
          "installUrl": {
            "format": "uri",
            "type": "string"
          },
          "launchUrl": {
            "format": "uri",
            "type": "string"
          },
          "shopDomain": {
            "type": "string"
          },
          "shopHandle": {
            "type": "string"
          }
        },
        "required": [
          "appName",
          "appImageUrl",
          "appDescription",
          "shopDomain",
          "shopHandle",
          "installUrl",
          "launchUrl",
          "alreadyInstalled"
        ],
        "type": "object"
      },
      "title": "Install Digital Products"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_digital_products_product",
              "write_products",
              "read_apps"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Take a draft digital product live through Shopify Digital Products, so buyers can purchase and download it. Activates the product and requests its Online Store listing. Refuses to publish a product with nothing attached, so attach the file first with upload-digital-product-file. Digital Products does not report whether the Online Store listing succeeded, so tell the merchant to check the product in their Online Store if buyers cannot find it.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "productId": {
            "description": "Product GID returned by create-digital-product (e.g. gid://shopify/Product/123).",
            "pattern": "^gid:\\/\\/shopify\\/Product\\/\\d+$",
            "type": "string"
          },
          "title": {
            "description": "Title to publish under. Digital Products requires one and stores its own copy, so pass the product's current title unless the merchant asked to rename it — anything else silently renames the product.",
            "maxLength": 255,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "productId",
          "title"
        ],
        "type": "object"
      },
      "name": "publish-digital-product",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "errors": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "code": {
                  "type": "string"
                },
                "field": {
                  "anyOf": [
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "code",
                "field",
                "message"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "onlineStoreConfirmed": {
            "const": false,
            "type": "boolean"
          },
          "productId": {
            "type": [
              "string",
              "null"
            ]
          },
          "published": {
            "type": "boolean"
          },
          "shopDomain": {
            "type": "string"
          }
        },
        "required": [
          "published",
          "shopDomain",
          "productId",
          "onlineStoreConfirmed",
          "errors"
        ],
        "type": "object"
      },
      "title": "Publish Digital Product"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "read_reports"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "Run a read-only ShopifyQL analytics query against the store. Use it for analytics and reporting questions such as \"how much / how many / what were my … / … by … / … over time / … vs last year\" about sales, orders, revenue, sessions, conversion, inventory, customers, marketing and more. Returns tabular results with automatic chart visualization.\n\nShopifyQL has many schemas, and each schema owns its own metrics and dimensions. Most rejected queries use a column the chosen schema does not have. Before writing a query:\n\n1. Check the common columns below. If the question needs a schema or column that is not listed, look it up first: read that schema's field reference (links below, or the full list at https://shopify.dev/docs/api/shopifyql/2026-10/schemas), or call search_docs_chunks with api_name \"shopifyql\" and the metric or business noun the merchant asked about plus \"schema metrics dimensions\" (e.g. \"ShopifyQL refunds schema metrics dimensions\"). Search the same way for syntax when you need a clause (e.g. \"ShopifyQL TIMESERIES COMPARE TO HAVING\").\n2. Choose the FROM schema deliberately. Do not default to sales or to the examples below: pick the schema whose field reference lists the metric you need. A metric one schema owns does not exist in another. If your schema does not list it, you picked the wrong schema; look again rather than forcing the query into a familiar one.\n3. Use only schema, metric and dimension names listed here or returned by the docs, verbatim. Never guess or invent names: do not turn a field into a table.column path, and do not promote a metric into its own FROM table (there is no orders table; count orders with FROM sales SHOW orders). If a second lookup still does not surface what you need, tell the merchant that metric or analysis is not available rather than guessing.\n\nPass only the ShopifyQL body as the query input, written FROM … SHOW …, never SELECT. One query per call.\n\nIf the result reports a parse error, the query is invalid: read the error, correct the query against the docs, and call again. If it returns data that does not answer the question, revise the metrics, dimensions or date range and call again.\n\n## Common columns (metrics; dimensions)\n- sales: total_sales, gross_sales, net_sales, orders, average_order_value, quantity_ordered, net_items_sold, discounts, taxes, shipping_charges, sales_reversals, customers, new_customers, returning_customers, returning_customer_rate; product_title, product_variant_title, product_type, product_vendor, sales_channel, new_or_returning_customer, discount_code, billing_country, order_referrer_source, order_referrer_name\n- sessions: sessions, online_store_visitors, conversion_rate, bounce_rate, sessions_with_cart_additions, sessions_that_reached_checkout, sessions_that_completed_checkout; session_device_type, session_country, referrer_source, referrer_name, landing_page_path, utm_source, utm_medium, utm_campaign\n- customers: new_customer_records, total_amount_spent, total_number_of_orders; customer_country, customer_cohort_month\n- payments: gross_payments, net_payments, refunded_payments, transactions; payment_gateway, payment_method, transaction_kind\n- inventory: starting_inventory_units, ending_inventory_units, inventory_units_sold, sell_through_rate; product_title, product_variant_title\n- fulfillments: orders_fulfilled, orders_shipped, orders_delivered, median_days_order_to_fulfillment; shipping_carrier, fulfillment_provider\n\n## Field references (every metric and dimension of a schema)\nsales: https://shopify.dev/docs/api/shopifyql/2026-10/schemas/sales_revenue/sales\nsessions: https://shopify.dev/docs/api/shopifyql/2026-10/schemas/sessions_and_behavior/sessions\ncustomers: https://shopify.dev/docs/api/shopifyql/2026-10/schemas/customers/customers\npayments: https://shopify.dev/docs/api/shopifyql/2026-10/schemas/finance_and_payments/payments\ninventory: https://shopify.dev/docs/api/shopifyql/2026-10/schemas/inventory/inventory\nfulfillments: https://shopify.dev/docs/api/shopifyql/2026-10/schemas/orders/fulfillments\nAll other schemas: https://shopify.dev/docs/api/shopifyql/2026-10/schemas\n\n## Syntax\nTIMESERIES day/week/month for time charts, GROUP BY for categories, SINCE -30d UNTIL today or DURING last_month for date ranges, COMPARE TO previous_period, WITH TOTALS, WITH PERCENT_CHANGE, ORDER BY … LIMIT n.\n\n## Examples of query shape\n- FROM sales SHOW total_sales TIMESERIES day SINCE -30d UNTIL today COMPARE TO previous_period\n- FROM sales SHOW gross_sales, net_sales, orders GROUP BY product_title ORDER BY gross_sales DESC LIMIT 10\n- FROM sales SHOW total_sales, orders GROUP BY new_or_returning_customer SINCE -30d UNTIL today\n- FROM sessions SHOW sessions, conversion_rate TIMESERIES day SINCE -30d UNTIL today\n- FROM sessions SHOW sessions, conversion_rate GROUP BY utm_source, utm_campaign SINCE -30d UNTIL today\n- FROM payments SHOW gross_payments, net_payments, refunded_payments GROUP BY payment_gateway SINCE -30d UNTIL today\n- FROM fulfillments SHOW orders_fulfilled, orders_shipped, orders_delivered TIMESERIES day SINCE -30d UNTIL today\n- FROM inventory SHOW ending_inventory_units, sell_through_rate GROUP BY product_title, product_variant_title",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "query": {
            "description": "The ShopifyQL query to execute",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "type": "object"
      },
      "name": "run-analytics-query",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "chartHint": {
            "additionalProperties": false,
            "properties": {
              "comparisonColumnIndex": {
                "type": "number"
              },
              "currencyCode": {
                "type": "string"
              },
              "type": {
                "enum": [
                  "line",
                  "bar"
                ],
                "type": "string"
              },
              "xAxisColumnIndex": {
                "type": "number"
              },
              "yAxisColumnIndices": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "yAxisFormat": {
                "enum": [
                  "money",
                  "number",
                  "percent"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "xAxisColumnIndex",
              "yAxisColumnIndices",
              "yAxisFormat"
            ],
            "type": "object"
          },
          "columns": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "dataType": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "dataType"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "currencyCode": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "rowCount": {
            "type": "number"
          },
          "rows": {
            "items": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "type": "array"
          },
          "shopDomain": {
            "type": "string"
          },
          "summaryMetric": {
            "additionalProperties": false,
            "properties": {
              "changePercent": {
                "type": "number"
              },
              "label": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            },
            "required": [
              "label",
              "value"
            ],
            "type": "object"
          }
        },
        "required": [
          "query",
          "columns",
          "rows",
          "rowCount"
        ],
        "type": "object"
      },
      "title": "Run Analytics Query"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "This tool will take in the user prompt, search shopify.dev, and return relevant documentation and code examples that will help answer the user's question.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "api_name": {
            "description": "The API name to filter search results by. Pass the same API name you used with learn_shopify_api (e.g., 'polaris-admin-extensions', 'pos-ui', 'admin'). This filters results to only return documentation for that specific API surface.",
            "type": "string"
          },
          "max_num_results": {
            "description": "Maximum number of results to return from the search. Do not pass this when calling the tool for the first time, only use this when you want to limit the number of results deal with small context window issues.",
            "type": "number"
          },
          "prompt": {
            "description": "The search query for Shopify documentation",
            "type": "string"
          }
        },
        "required": [
          "prompt"
        ],
        "type": "object"
      },
      "name": "search_docs_chunks",
      "title": "search_docs_chunks"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_products"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "Retrieve basic information about the connected Shopify store including name, domain, email, plan, currency, timezone, and country. Use this when you need store context to tailor advice (e.g. plan limitations, currency for pricing, timezone for scheduling), when the user asks about their store details, or to verify which store is connected. Leave `store` out for it.\n\nFor a PreviewStore made with create_store, pass its domain as `store` to get new links: one to preview its storefront, and one to save it to a Shopify account. Call it that way when the user wants to see the store (the storefront, its products, or a change you made, e.g. \"can I see my store?\" or \"where are my products?\") and you have no preview link from the last about 30 minutes, which is how long one works. Also call it when a link no longer works, or the user lost the link to save the store.\n\nGive the user the preview link. Until the store is saved to a Shopify account, don't show or link its domain to the user: it's only the store's ID for tool calls, and opening it in a browser doesn't show the preview.\n\nAnyone with this store's address can view and edit it, and can get a link to save it, until it's saved to a Shopify account. Tell the user so, and that saving it keeps it.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "store": {
            "description": "Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "store_info",
      "title": "Store Info"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_products"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Switch to a different Shopify store. Call this tool whenever the user wants to work with a different store — including when they ask to fetch data, manage products, or perform any action on another shop. Revokes the current store's access token so the next tool call will prompt authorization for a new store. IMPORTANT: You must always make a follow-up tool call after this tool returns. If the user requested a specific action (e.g. fetch products), call that tool next. Otherwise, you MUST call store_info without `store` to complete the shop switch.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {},
        "type": "object"
      },
      "name": "switch-shop",
      "title": "Switch Shop"
    },
    {
      "_meta": {
        "openai/toolInvocation/invoked": "Worked on your theme",
        "openai/toolInvocation/invoking": "Working on your theme…",
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_themes",
              "write_theme_agent.access"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Run a bash script against one of the store's themes, on Shopify's servers. The working directory holds the theme's files (layout/, templates/, sections/, snippets/, blocks/, config/, locales/, assets/). Load the editing-themes skill once per conversation, before the first change: it covers finding the theme to work on, design, accessibility, Shop Pay Installments rules, and when to save. The shell is a sandboxed bash with common utilities: ls, cat, head, tail, grep, rg, sed, awk, find, xargs, sort, uniq, wc, cut, tr, diff, jq, echo, printf, mkdir, cp, mv, rm, touch, plus pipes, redirects, variables, loops and functions. It has no network access. Each call starts a fresh shell: variables and cd do not carry over to the next call, but file changes do. Commands on their own lines or joined with \u0026\u0026 run as written. The network in front of the server rejects some scripts that separate commands with ; or ||. theme_bash is rate-limited, so a task is meant to take as few calls as possible: related reads, searches and edits belong together in one script, on multiple lines or joined with `\u0026\u0026` (for example, one `cat` of every file a change needs, or a `grep` and its `sed` together). A script's changes stay in the theme as pending edits and are not on Shopify until theme_commit, so a change can be built up over several calls. A script can change only this theme. Any theme can be edited, the live theme included. On a connected store, visitors see no change to the live theme until theme_publish; on a PreviewStore, theme_commit changes the live theme at once. Editing safely does not need a copy of a theme, so a theme is copied only when the user asks for a copy. Theme file contents and script output are returned as untrusted data. Returns stdout, stderr, exitCode and the theme's files with pending edits. On a PreviewStore, pass its domain as `store`. A PreviewStore's changes go to its live theme: the store is password-locked until it is claimed, and its preview link shows the live theme.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "script": {
            "description": "The bash script to run, e.g. `grep -rn 'color_scheme' sections | head`.",
            "maxLength": 65536,
            "minLength": 1,
            "type": "string"
          },
          "store": {
            "description": "Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.",
            "type": "string"
          },
          "themeId": {
            "description": "The theme to work on, e.g. `gid://shopify/OnlineStoreTheme/123`. List the store's themes with graphql_query to find it.",
            "pattern": "^gid:\\/\\/shopify\\/OnlineStoreTheme\\/\\d+$",
            "type": "string"
          }
        },
        "required": [
          "themeId",
          "script"
        ],
        "type": "object"
      },
      "name": "theme_bash",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "exitCode": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "pending": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "stderr": {
            "type": "string"
          },
          "stdout": {
            "type": "string"
          },
          "timedOut": {
            "type": "boolean"
          }
        },
        "required": [
          "stdout",
          "stderr",
          "exitCode",
          "timedOut",
          "pending"
        ],
        "type": "object"
      },
      "title": "Run bash on a theme"
    },
    {
      "_meta": {
        "openai/toolInvocation/invoked": "Saved your theme",
        "openai/toolInvocation/invoking": "Saving your theme…",
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_themes",
              "write_theme_agent.access"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Saves a theme's pending edits (what theme_bash changed) to the theme on Shopify, as one version in the theme's history. It belongs at the end of a complete change that renders, not after every script. There is no undo. On a connected store, a commit on the live theme is kept as a saved version and visitors see it only after theme_publish. A file Shopify refuses stays pending: fix it with theme_bash, then commit again. Returns the files it saved or deleted, the files waiting for theme_publish, the edits still pending, and why any were not saved. On a PreviewStore, pass its domain as `store`. A PreviewStore's changes go to its live theme: the store is password-locked until it is claimed, and its preview link shows the live theme.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "description": {
            "description": "What the change does, in one short sentence, e.g. `Add a promo banner to the home page`. It names the version in the theme's history.",
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "store": {
            "description": "Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.",
            "type": "string"
          },
          "themeId": {
            "description": "The theme to work on, e.g. `gid://shopify/OnlineStoreTheme/123`. List the store's themes with graphql_query to find it.",
            "pattern": "^gid:\\/\\/shopify\\/OnlineStoreTheme\\/\\d+$",
            "type": "string"
          }
        },
        "required": [
          "themeId",
          "description"
        ],
        "type": "object"
      },
      "name": "theme_commit",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "awaitingPublish": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "commit": {
            "type": [
              "string",
              "null"
            ]
          },
          "deleted": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "pending": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "pushErrors": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "rejectedReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "saved": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "commit",
          "saved",
          "deleted",
          "pending",
          "pushErrors",
          "rejectedReason",
          "awaitingPublish"
        ],
        "type": "object"
      },
      "title": "Save a theme's edits"
    },
    {
      "_meta": {
        "openai/toolInvocation/invoked": "Published your theme",
        "openai/toolInvocation/invoking": "Publishing your theme…",
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_themes",
              "write_theme_agent.access"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Make one of the store's themes its live theme, the one every visitor to the online store sees. The theme that was live stays in the store, unpublished. On the theme that is already live, it puts the changes theme_commit saved in front of visitors. This tool is called only after the user has said yes, in this conversation, to publishing this theme. Ask them first, name the theme, and wait for their answer. A request to edit or save a theme is not a request to publish it. A theme with pending edits is refused: save them with theme_commit first. Returns whether the theme is live now, and why not if it is not. On a PreviewStore, pass its domain as `store`, the same one you passed to theme_bash.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "store": {
            "description": "Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.",
            "type": "string"
          },
          "themeId": {
            "description": "The theme to work on, e.g. `gid://shopify/OnlineStoreTheme/123`. List the store's themes with graphql_query to find it.",
            "pattern": "^gid:\\/\\/shopify\\/OnlineStoreTheme\\/\\d+$",
            "type": "string"
          },
          "userConfirmed": {
            "const": true,
            "description": "Set to `true` only when the user has said yes, in this conversation, to publishing this theme. Ask them before you set it. A request to edit or save the theme is not a yes.",
            "type": "boolean"
          }
        },
        "required": [
          "themeId",
          "userConfirmed"
        ],
        "type": "object"
      },
      "name": "theme_publish",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "pending": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "published": {
            "type": "boolean"
          },
          "rejectedReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "themeId": {
            "type": "string"
          },
          "userErrors": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "themeId",
          "published",
          "pending",
          "userErrors",
          "rejectedReason"
        ],
        "type": "object"
      },
      "title": "Publish a theme"
    },
    {
      "_meta": {
        "openai/toolInvocation/invoked": "Took a screenshot",
        "openai/toolInvocation/invoking": "Taking a screenshot…",
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_themes",
              "write_theme_agent.access"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "Take a screenshot of one page of a store's theme, as a customer sees it, and return the image. It shows the theme with theme_bash's pending edits, before theme_commit saves them, so you can check a change first. Use it to check a design change, or to see a theme before you change it. The theme does not need to be published. On a PreviewStore, pass its domain as `store`, the same one you passed to theme_bash. Without `store`, it shows a theme on the connected store, which doesn't have a PreviewStore's themes.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "path": {
            "default": "/",
            "description": "The storefront page to capture, e.g. `/`, `/collections/all` or `/products/blue-shirt`.",
            "maxLength": 2048,
            "type": "string"
          },
          "store": {
            "description": "Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.",
            "type": "string"
          },
          "themeId": {
            "description": "The theme to capture, e.g. `gid://shopify/OnlineStoreTheme/123`. List the store's themes with graphql_query to find it.",
            "pattern": "^gid:\\/\\/shopify\\/OnlineStoreTheme\\/\\d+$",
            "type": "string"
          },
          "viewport": {
            "default": "desktop",
            "description": "desktop is 1440 pixels wide. mobile is 390 pixels wide. both takes one of each, desktop first: use it only when you need to compare them, since it takes twice as long.",
            "enum": [
              "desktop",
              "mobile",
              "both"
            ],
            "type": "string"
          }
        },
        "required": [
          "themeId"
        ],
        "type": "object"
      },
      "name": "theme_screenshot",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "string"
          },
          "previewLinkOnClick": {
            "default": false,
            "type": "boolean"
          },
          "previewUrl": {
            "anyOf": [
              {
                "format": "uri",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "themeId": {
            "type": "string"
          },
          "viewport": {
            "enum": [
              "desktop",
              "mobile"
            ],
            "type": "string"
          },
          "width": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "themeId",
          "path",
          "viewport",
          "width",
          "previewUrl",
          "previewLinkOnClick"
        ],
        "type": "object"
      },
      "title": "Take a theme screenshot"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_digital_products_product",
              "write_products",
              "read_apps"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": false
      },
      "description": "Give the merchant a Shopify Admin link for attaching the downloadable file to a digital product they have already created.\nCall this after create-digital-product, passing back the product and variant identifiers it returned.\nThis host cannot take a file from the merchant, so the attachment is finished in the Digital Products app rather than here. Relay the link this returns and ask the merchant to report back here once the upload is done; nothing tells this conversation on its own.\nThis does not create products and does not publish anything.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "productId": {
            "description": "Product GID returned by create-digital-product.",
            "pattern": "^gid:\\/\\/shopify\\/Product\\/\\d+$",
            "type": "string"
          },
          "productTitle": {
            "description": "Product title returned by create-digital-product.",
            "minLength": 1,
            "type": "string"
          },
          "variantId": {
            "description": "Variant GID returned by create-digital-product.",
            "pattern": "^gid:\\/\\/shopify\\/ProductVariant\\/\\d+$",
            "type": "string"
          },
          "variantTitle": {
            "description": "Variant title returned by create-digital-product.",
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "productId",
          "productTitle",
          "variantId",
          "variantTitle"
        ],
        "type": "object"
      },
      "name": "upload-digital-product-file",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "adminUploadUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "maxFileBytes": {
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "type": "integer"
          },
          "productId": {
            "type": "string"
          },
          "productTitle": {
            "type": "string"
          },
          "shopDomain": {
            "type": "string"
          },
          "variantId": {
            "type": "string"
          },
          "variantTitle": {
            "type": "string"
          }
        },
        "required": [
          "shopDomain",
          "productId",
          "productTitle",
          "variantId",
          "variantTitle",
          "maxFileBytes",
          "adminUploadUrl"
        ],
        "type": "object"
      },
      "title": "Upload Digital Product File"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          },
          {
            "scopes": [
              "write_files"
            ],
            "type": "oauth2"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Get a link to the store's Content → Files page in Shopify admin, where the merchant uploads an image or file from their own device, and a since value to read the upload back with get_uploaded_files.\nUse this when the merchant wants to add something that is on their computer or phone to the store: a product photo, a logo, a PDF. This connection cannot take the file itself, so the merchant uploads it in Shopify admin.\nNot for a file the merchant is selling as a digital download; that goes through create-digital-product and upload-digital-product-file, which keep it private until purchase.\nGive the merchant the link and ask them to tell you when the upload is done. Nothing tells this conversation when they finish, so do not say or imply that you are watching for it. When they say it is done, call get_uploaded_files with the since value this tool returns, and lead with the file's URL when you tell them.\nTo add an uploaded image, video or 3D model to an existing product without Shopify copying it, call graphql_mutation with `mutation { fileUpdate(files: [{ id: \"\u003cfile GID\u003e\", referencesToAdd: [\"\u003cproduct GID\u003e\"] }]) { files { id } userErrors { field message code } } }`. Never add an uploaded file to a product by its URL (productCreateMedia, media in productUpdate or productSet, update-product images, or any originalSource): each makes a copy of the file.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "store": {
            "description": "Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "upload_file",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "adminUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "attachableAsProductMedia": {
            "type": "boolean"
          },
          "canAttachToProduct": {
            "type": "boolean"
          },
          "contentType": {
            "enum": [
              "IMAGE",
              "FILE"
            ],
            "type": "string"
          },
          "fileId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "fileStatus": {
            "type": "string"
          },
          "fromChat": {
            "type": "boolean"
          },
          "mode": {
            "enum": [
              "picker",
              "no_widget",
              "upload_command",
              "uploaded"
            ],
            "type": "string"
          },
          "resourceUrl": {
            "type": "string"
          },
          "shopDomain": {
            "type": "string"
          },
          "since": {
            "type": "string"
          },
          "store": {
            "type": "string"
          },
          "uploadCommand": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "mode",
          "shopDomain"
        ],
        "type": "object"
      },
      "title": "Upload File"
    },
    {
      "_meta": {
        "securitySchemes": [
          {
            "type": "noauth"
          }
        ]
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false,
        "readOnlyHint": true
      },
      "description": "Lists and reads this server's skills: step-by-step guides to load before the work they cover. Call with no arguments to list each skill's frontmatter and files. Call with a skill's name to read its SKILL.md; add the path of one of its files to read that file.",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "name": {
            "description": "A skill's frontmatter name. Omit to list the skills.",
            "type": "string"
          },
          "path": {
            "description": "The path of one of the skill's resources, as listed. Omit to read SKILL.md.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "use_skill",
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "skills": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "frontmatter": {
                      "additionalProperties": {},
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "description"
                      ],
                      "type": "object"
                    },
                    "resources": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "digest": {
                            "type": "string"
                          },
                          "path": {
                            "type": "string"
                          },
                          "size": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "uri": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "path",
                          "uri",
                          "digest",
                          "size"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "uri": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "uri",
                    "frontmatter",
                    "resources"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "skills"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "contents": {
                "items": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "mimeType": {
                          "type": "string"
                        },
                        "text": {
                          "type": "string"
                        },
                        "uri": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "uri",
                        "mimeType",
                        "text"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "blob": {
                          "type": "string"
                        },
                        "mimeType": {
                          "type": "string"
                        },
                        "uri": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "uri",
                        "mimeType",
                        "blob"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "type": "array"
              }
            },
            "required": [
              "contents"
            ],
            "type": "object"
          }
        ],
        "type": "object"
      },
      "title": "Use skill"
    }
  ]
}
