addrbookFor publishers
← The evidence ledger

Evidence row 2492761

Observed , by probe.mcp/1.

Kind
mcp.tools
About
endpoint 36e9ed3a-f2e6-4321-81f9-8e767cfdf81a
Recorded
Previous row
#1734382
Body SHA-256
968b4cce3fe5802bdbb5e196818706177e29e46f7d450e35e7662eb1cfc1b62a
Leaf
0x4e22948c1f86e8e4a57e4250b6d122d02d680939707709f439adcde4d4218568

What was observed

{
  "count": 14,
  "tools": [
    {
      "description": "Ask a question about this store, such as what it sells, its policies, or its services.\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "ask": {
            "properties": {
              "attribution": {
                "additionalProperties": true,
                "description": "Platform attribution data. Attribution is not currently supported.",
                "type": "object"
              },
              "context": {
                "additionalProperties": true,
                "description": "Buyer context for localization and personalization.",
                "properties": {
                  "address_country": {
                    "type": "string"
                  },
                  "address_region": {
                    "type": "string"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "intent": {
                    "type": "string"
                  },
                  "language": {
                    "type": "string"
                  },
                  "postal_code": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "conversation": {
                "description": "Opaque conversation identifier. Multi-turn conversations are not currently supported.",
                "properties": {
                  "expires_at": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "type": "object"
              },
              "ids": {
                "description": "Resource identifiers for grounding. Up to 10 of this store's Shopify Product, ProductVariant, Collection or Cart GIDs are supported. A cart or collection grounds the answer in its products.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "query": {
                "description": "Natural-language question.",
                "maxLength": 10000,
                "type": "string"
              },
              "signals": {
                "additionalProperties": true,
                "description": "Platform environment data. Signals are not currently supported.",
                "type": "object"
              }
            },
            "required": [
              "query"
            ],
            "type": "object"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "ask"
        ],
        "type": "object"
      },
      "name": "ask_business"
    },
    {
      "description": "Cancels a cart.\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "description": "The ID of the cart. Format: 'gid://shopify/Cart/abc123'",
            "type": "string"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "id"
        ],
        "type": "object"
      },
      "name": "cancel_cart"
    },
    {
      "description": "Cancels a checkout.\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "description": "The ID of the checkout to update. Format: 'gid://shopify/Checkout/abc123'",
            "type": "string"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "id"
        ],
        "type": "object"
      },
      "name": "cancel_checkout"
    },
    {
      "description": "Completes a checkout and returns the checkout result. Returns details about the completed checkout, including order ID, Thank You Page URL, or any errors encountered.\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "checkout": {
            "description": "Checkout properties.",
            "properties": {
              "attribution": {
                "description": "Marketing attribution context for the buyer's session (referring domain, click IDs, UTM parameters).",
                "properties": {
                  "activity_id_tag": {
                    "description": "Activity identifier parameter name.",
                    "type": "string"
                  },
                  "activity_id_value": {
                    "description": "Activity identifier value matching activity_id_tag.",
                    "type": "string"
                  },
                  "click_id_tag": {
                    "description": "Click identifier parameter name (e.g., 'gclid', 'fbclid').",
                    "type": "string"
                  },
                  "click_id_value": {
                    "description": "Click identifier value matching click_id_tag.",
                    "type": "string"
                  },
                  "referring_domain": {
                    "description": "Domain that referred the buyer to the merchant's storefront.",
                    "type": "string"
                  },
                  "utm_campaign": {
                    "description": "UTM campaign parameter.",
                    "type": "string"
                  },
                  "utm_content": {
                    "description": "UTM content parameter.",
                    "type": "string"
                  },
                  "utm_medium": {
                    "description": "UTM medium parameter.",
                    "type": "string"
                  },
                  "utm_source": {
                    "description": "UTM source parameter.",
                    "type": "string"
                  },
                  "utm_term": {
                    "description": "UTM term parameter.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "buyer": {
                "additionalProperties": true,
                "properties": {
                  "consent": {
                    "additionalProperties": {
                      "additionalProperties": true,
                      "properties": {
                        "granted": {
                          "description": "Whether consent is granted.",
                          "type": "boolean"
                        },
                        "segments": {
                          "additionalProperties": {
                            "additionalProperties": true,
                            "properties": {
                              "granted": {
                                "description": "Whether consent is granted.",
                                "type": "boolean"
                              },
                              "source": {
                                "description": "Use platform for an explicit buyer decision. Business-sourced values do not update stored choices.",
                                "enum": [
                                  "business",
                                  "platform"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "granted",
                              "source"
                            ],
                            "type": "object"
                          },
                          "description": "One level of refinements. Marketing supports dev.ucp.consent.marketing.email and dev.ucp.consent.marketing.sms; a segment overrides its parent.",
                          "type": "object"
                        },
                        "source": {
                          "description": "Use platform for an explicit buyer decision. Business-sourced values do not update stored choices.",
                          "enum": [
                            "business",
                            "platform"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "granted",
                        "source"
                      ],
                      "type": "object"
                    },
                    "description": "Per-purpose buyer consent decisions, keyed by reverse-DNS identifiers. Omission leaves existing choices unchanged.",
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "payment": {
                "additionalProperties": true,
                "description": "Payment information for this checkout.",
                "properties": {
                  "instruments": {
                    "description": "Payment instruments for this checkout (e.g., credit cards, tokens, wallets).",
                    "items": {
                      "additionalProperties": true,
                      "allOf": [
                        {
                          "else": {
                            "properties": {
                              "credential": {
                                "properties": {
                                  "type": {
                                    "not": {
                                      "const": "apple_pay_token"
                                    }
                                  }
                                },
                                "required": [
                                  "type"
                                ]
                              }
                            }
                          },
                          "if": {
                            "properties": {
                              "handler_id": {
                                "const": "apple-pay"
                              }
                            },
                            "required": [
                              "handler_id"
                            ]
                          },
                          "then": {
                            "properties": {
                              "credential": {
                                "properties": {
                                  "type": {
                                    "const": "apple_pay_token"
                                  }
                                },
                                "required": [
                                  "type",
                                  "payment_data"
                                ]
                              },
                              "type": {
                                "const": "card"
                              }
                            },
                            "required": [
                              "billing_address",
                              "credential"
                            ]
                          }
                        }
                      ],
                      "properties": {
                        "billing_address": {
                          "additionalProperties": true,
                          "description": "Billing address for the instrument.",
                          "properties": {
                            "address_country": {
                              "description": "Country of the billing address in 2-letter ISO 3166-1 alpha-2 format.",
                              "type": "string"
                            },
                            "address_locality": {
                              "description": "Locality of the billing address.",
                              "type": "string"
                            },
                            "address_region": {
                              "description": "Region of the billing address.",
                              "type": "string"
                            },
                            "extended_address": {
                              "description": "Extended address of the billing address such as an apartment number, C/O, or alternative name.",
                              "type": "string"
                            },
                            "first_name": {
                              "description": "First name of the contact associated with the billing address.",
                              "type": "string"
                            },
                            "last_name": {
                              "description": "Last name of the contact associated with the billing address.",
                              "type": "string"
                            },
                            "phone_number": {
                              "description": "Phone number of the contact associated with the billing address.",
                              "type": "string"
                            },
                            "postal_code": {
                              "description": "Postal code of the billing address.",
                              "type": "string"
                            },
                            "street_address": {
                              "description": "Street address of the billing address.",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "credential": {
                          "additionalProperties": true,
                          "allOf": [
                            {
                              "else": {
                                "required": [
                                  "type"
                                ]
                              },
                              "if": {
                                "properties": {
                                  "type": {
                                    "const": "apple_pay_token"
                                  }
                                },
                                "required": [
                                  "type"
                                ]
                              },
                              "then": {
                                "properties": {
                                  "payment_data": {
                                    "additionalProperties": true,
                                    "properties": {
                                      "data": {
                                        "type": "string"
                                      },
                                      "header": {
                                        "additionalProperties": true,
                                        "anyOf": [
                                          {
                                            "required": [
                                              "ephemeral_public_key"
                                            ]
                                          },
                                          {
                                            "required": [
                                              "wrapped_key"
                                            ]
                                          }
                                        ],
                                        "properties": {
                                          "application_data": {
                                            "type": "string"
                                          },
                                          "ephemeral_public_key": {
                                            "type": "string"
                                          },
                                          "public_key_hash": {
                                            "type": "string"
                                          },
                                          "transaction_id": {
                                            "type": "string"
                                          },
                                          "wrapped_key": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "public_key_hash",
                                          "transaction_id"
                                        ],
                                        "type": "object"
                                      },
                                      "signature": {
                                        "type": "string"
                                      },
                                      "version": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "version",
                                      "data",
                                      "signature",
                                      "header"
                                    ],
                                    "type": "object"
                                  },
                                  "transaction_identifier": {
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "apple_pay_token"
                                  }
                                },
                                "required": [
                                  "type",
                                  "payment_data"
                                ]
                              }
                            }
                          ],
                          "description": "Payment credential payload to process the transaction for this instrument.",
                          "properties": {
                            "approval_id": {
                              "description": "Identifier of the payment approval authorizing this credential, as returned by the approvals API. Required for shop_pay credentials when the merchant requires payment approvals.",
                              "type": "string"
                            },
                            "payment_data": {
                              "type": "object"
                            },
                            "token": {
                              "description": "Opaque payment token value, required except when restating a platform-listed instrument (e.g., a Shop Pay wallet card) whose token the platform re-derives from the instrument id.",
                              "type": "string"
                            },
                            "transaction_identifier": {
                              "type": "string"
                            },
                            "type": {
                              "description": "Namespaced token type using dot notation (e.g., stripe.token, merchant.token, google.pay).",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "display": {
                          "additionalProperties": true,
                          "description": "Display information for this payment instrument.",
                          "properties": {
                            "brand": {
                              "description": "Card brand (e.g., visa, mastercard), when available.",
                              "type": "string"
                            },
                            "expiry_month": {
                              "description": "Card expiry month (1-12). Required for card instruments.",
                              "type": "integer"
                            },
                            "expiry_year": {
                              "description": "Card expiry year. Required for card instruments.",
                              "type": "integer"
                            },
                            "funding_source": {
                              "description": "How the card is funded, as reported by Apple Pay.",
                              "enum": [
                                "debit",
                                "credit",
                                "prepaid",
                                "store"
                              ],
                              "type": "string"
                            },
                            "last_digits": {
                              "description": "Last 4 digits of the card, when available.",
                              "type": "string"
                            },
                            "rich_card_art": {
                              "description": "Rich card art URL or identifier for the payment instrument.",
                              "type": "string"
                            },
                            "rich_text_description": {
                              "description": "Rich text description of the payment instrument for display purposes.",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "handler_id": {
                          "description": "Identifier of the payment handler that was used to generate this instrument.",
                          "type": "string"
                        },
                        "id": {
                          "description": "A unique identifier for this payment instrument instance.",
                          "type": "string"
                        },
                        "selected": {
                          "description": "Whether this instrument is the currently selected for the checkout.",
                          "type": "boolean"
                        },
                        "type": {
                          "description": "Instrument type. Apple Pay uses 'card' because the submitted instrument represents a tokenized card.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "handler_id",
                        "type"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            },
            "required": [
              "payment"
            ],
            "type": "object"
          },
          "id": {
            "description": "The ID of the checkout to update. Format: 'gid://shopify/Checkout/abc123'",
            "type": "string"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "idempotency-key": {
                "description": "An idempotency key for completing the checkout.",
                "type": "string"
              },
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent",
              "idempotency-key"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "id",
          "checkout"
        ],
        "type": "object"
      },
      "name": "complete_checkout"
    },
    {
      "description": "Creates a new cart\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "cart": {
            "description": "Cart properties.",
            "properties": {
              "attribution": {
                "description": "Marketing attribution context for the buyer's session (referring domain, click IDs, UTM parameters). Forwarded to the cart for downstream reporting.",
                "properties": {
                  "activity_id_tag": {
                    "description": "Activity identifier parameter name.",
                    "type": "string"
                  },
                  "activity_id_value": {
                    "description": "Activity identifier value matching activity_id_tag.",
                    "type": "string"
                  },
                  "click_id_tag": {
                    "description": "Click identifier parameter name (e.g., 'gclid', 'fbclid').",
                    "type": "string"
                  },
                  "click_id_value": {
                    "description": "Click identifier value matching click_id_tag.",
                    "type": "string"
                  },
                  "referring_domain": {
                    "description": "Domain that referred the buyer to the merchant's storefront.",
                    "type": "string"
                  },
                  "utm_campaign": {
                    "description": "UTM campaign parameter.",
                    "type": "string"
                  },
                  "utm_content": {
                    "description": "UTM content parameter.",
                    "type": "string"
                  },
                  "utm_medium": {
                    "description": "UTM medium parameter.",
                    "type": "string"
                  },
                  "utm_source": {
                    "description": "UTM source parameter.",
                    "type": "string"
                  },
                  "utm_term": {
                    "description": "UTM term parameter.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "buyer": {
                "additionalProperties": true,
                "description": "Information about the buyer including email and phone number.",
                "properties": {
                  "consent": {
                    "additionalProperties": {
                      "additionalProperties": true,
                      "properties": {
                        "granted": {
                          "description": "Whether consent is granted.",
                          "type": "boolean"
                        },
                        "segments": {
                          "additionalProperties": {
                            "additionalProperties": true,
                            "properties": {
                              "granted": {
                                "description": "Whether consent is granted.",
                                "type": "boolean"
                              },
                              "source": {
                                "description": "Use platform for an explicit buyer decision. Business-sourced values do not update stored choices.",
                                "enum": [
                                  "business",
                                  "platform"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "granted",
                              "source"
                            ],
                            "type": "object"
                          },
                          "description": "One level of refinements. Marketing supports dev.ucp.consent.marketing.email and dev.ucp.consent.marketing.sms; a segment overrides its parent.",
                          "type": "object"
                        },
                        "source": {
                          "description": "Use platform for an explicit buyer decision. Business-sourced values do not update stored choices.",
                          "enum": [
                            "business",
                            "platform"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "granted",
                        "source"
                      ],
                      "type": "object"
                    },
                    "description": "Per-purpose buyer consent decisions, keyed by reverse-DNS identifiers. Omission leaves existing choices unchanged.",
                    "type": "object"
                  },
                  "email": {
                    "format": "email",
                    "type": "string"
                  },
                  "phone_number": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "context": {
                "additionalProperties": true,
                "description": "Provisional context hints for localization and pricing. Used when authoritative data (e.g., shipping address) is missing; higher-resolution data supersedes these values and unsupported hints may be ignored without error.",
                "properties": {
                  "address_country": {
                    "description": "Country hint for localization.",
                    "type": "string"
                  },
                  "address_region": {
                    "description": "Region/state hint for localization.",
                    "type": "string"
                  },
                  "currency": {
                    "description": "Preferred currency (ISO 4217, e.g., 'EUR', 'USD').",
                    "type": "string"
                  },
                  "eligibility": {
                    "description": "Buyer claims about eligible benefits such as loyalty membership, payment perks, and similar.",
                    "items": {
                      "description": "Reverse-domain identifier. Must contain at least two dot-separated segments (e.g., 'com.example.loyalty').",
                      "pattern": "^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$",
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "intent": {
                    "description": "Context describing buyer's intent.",
                    "type": "string"
                  },
                  "language": {
                    "description": "Language tag in IETF BCP 47 format.",
                    "type": "string"
                  },
                  "postal_code": {
                    "description": "Postal code hint for localization.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "declared_fields": {
                "description": "Merchant-defined cart or checkout fields and their values. On updates, replaces previously submitted custom field values; omitted or null fields are cleared. Send empty array to clear all custom fields.",
                "items": {
                  "properties": {
                    "key": {
                      "description": "Unique identifier for the declared field.",
                      "type": "string"
                    },
                    "value": {
                      "description": "Submitted JSON value for the field. Null clears the value.",
                      "type": [
                        "string",
                        "number",
                        "boolean",
                        "object",
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key",
                    "value"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "discounts": {
                "description": "Discount or promo codes to apply to the cart. Only prompt if customer mentions having a discount code.",
                "properties": {
                  "codes": {
                    "description": "Discount codes to apply. Case-insensitive. Replaces previously submitted codes. Send empty array to clear.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "fulfillment": {
                "description": "Information about the fulfillment.",
                "properties": {
                  "methods": {
                    "description": "The methods of fulfillment.",
                    "items": {
                      "properties": {
                        "destinations": {
                          "description": "The destinations to fulfill to.",
                          "items": {
                            "properties": {
                              "address_country": {
                                "type": "string"
                              },
                              "address_locality": {
                                "type": "string"
                              },
                              "address_region": {
                                "type": "string"
                              },
                              "extended_address": {
                                "type": "string"
                              },
                              "first_name": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "last_name": {
                                "type": "string"
                              },
                              "phone_number": {
                                "type": "string"
                              },
                              "postal_code": {
                                "type": "string"
                              },
                              "street_address": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "groups": {
                          "description": "The groups to fulfill to.",
                          "items": {
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "selected_option_id": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "selected_destination_id": {
                          "description": "ID of the selected destination.",
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "line_items": {
                "description": "Items to add to the cart or checkout. Required when creating a new cart or checkout.",
                "items": {
                  "properties": {
                    "id": {
                      "description": "The ID of the line item to update.",
                      "type": "string"
                    },
                    "item": {
                      "properties": {
                        "id": {
                          "description": "The Product Variant ID to add or update.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "type": "object"
                    },
                    "quantity": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "item",
                    "quantity"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "line_items"
            ],
            "type": "object"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "cart"
        ],
        "type": "object"
      },
      "name": "create_cart"
    },
    {
      "description": "Creates a checkout. Returns checkout details, including line items, totals, and any applicable discounts or taxes.\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "checkout": {
            "description": "Checkout properties.",
            "properties": {
              "attribution": {
                "description": "Marketing attribution context for the buyer's session (referring domain, click IDs, UTM parameters).",
                "properties": {
                  "activity_id_tag": {
                    "description": "Activity identifier parameter name.",
                    "type": "string"
                  },
                  "activity_id_value": {
                    "description": "Activity identifier value matching activity_id_tag.",
                    "type": "string"
                  },
                  "click_id_tag": {
                    "description": "Click identifier parameter name (e.g., 'gclid', 'fbclid').",
                    "type": "string"
                  },
                  "click_id_value": {
                    "description": "Click identifier value matching click_id_tag.",
                    "type": "string"
                  },
                  "referring_domain": {
                    "description": "Domain that referred the buyer to the merchant's storefront.",
                    "type": "string"
                  },
                  "utm_campaign": {
                    "description": "UTM campaign parameter.",
                    "type": "string"
                  },
                  "utm_content": {
                    "description": "UTM content parameter.",
                    "type": "string"
                  },
                  "utm_medium": {
                    "description": "UTM medium parameter.",
                    "type": "string"
                  },
                  "utm_source": {
                    "description": "UTM source parameter.",
                    "type": "string"
                  },
                  "utm_term": {
                    "description": "UTM term parameter.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "buyer": {
                "additionalProperties": true,
                "description": "Information about the buyer including email and phone number.",
                "properties": {
                  "consent": {
                    "additionalProperties": {
                      "additionalProperties": true,
                      "properties": {
                        "granted": {
                          "description": "Whether consent is granted.",
                          "type": "boolean"
                        },
                        "segments": {
                          "additionalProperties": {
                            "additionalProperties": true,
                            "properties": {
                              "granted": {
                                "description": "Whether consent is granted.",
                                "type": "boolean"
                              },
                              "source": {
                                "description": "Use platform for an explicit buyer decision. Business-sourced values do not update stored choices.",
                                "enum": [
                                  "business",
                                  "platform"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "granted",
                              "source"
                            ],
                            "type": "object"
                          },
                          "description": "One level of refinements. Marketing supports dev.ucp.consent.marketing.email and dev.ucp.consent.marketing.sms; a segment overrides its parent.",
                          "type": "object"
                        },
                        "source": {
                          "description": "Use platform for an explicit buyer decision. Business-sourced values do not update stored choices.",
                          "enum": [
                            "business",
                            "platform"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "granted",
                        "source"
                      ],
                      "type": "object"
                    },
                    "description": "Per-purpose buyer consent decisions, keyed by reverse-DNS identifiers. Omission leaves existing choices unchanged.",
                    "type": "object"
                  },
                  "email": {
                    "format": "email",
                    "type": "string"
                  },
                  "phone_number": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "cart_id": {
                "description": "Cart ID to convert to checkout. When provided, the business uses cart contents (line_items, context, buyer) and ignores overlapping fields in the checkout payload. line_items is still required: pass an empty array (\"line_items\": []). Format: 'gid://shopify/Cart/abc123?key=secret'",
                "type": "string"
              },
              "context": {
                "additionalProperties": true,
                "description": "Provisional context hints for localization and pricing. Used when authoritative data (e.g., shipping address) is missing; higher-resolution data supersedes these values and unsupported hints may be ignored without error.",
                "properties": {
                  "address_country": {
                    "description": "Country hint for localization.",
                    "type": "string"
                  },
                  "address_region": {
                    "description": "Region/state hint for localization.",
                    "type": "string"
                  },
                  "currency": {
                    "description": "Preferred currency (ISO 4217, e.g., 'EUR', 'USD').",
                    "type": "string"
                  },
                  "eligibility": {
                    "description": "Buyer claims about eligible benefits such as loyalty membership, payment perks, and similar.",
                    "items": {
                      "description": "Reverse-domain identifier. Must contain at least two dot-separated segments (e.g., 'com.example.loyalty').",
                      "pattern": "^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$",
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "intent": {
                    "description": "Context describing buyer's intent.",
                    "type": "string"
                  },
                  "language": {
                    "description": "Language tag in IETF BCP 47 format.",
                    "type": "string"
                  },
                  "postal_code": {
                    "description": "Postal code hint for localization.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "declared_fields": {
                "description": "Merchant-defined cart or checkout fields and their values. On updates, replaces previously submitted custom field values; omitted or null fields are cleared. Send empty array to clear all custom fields.",
                "items": {
                  "properties": {
                    "key": {
                      "description": "Unique identifier for the declared field.",
                      "type": "string"
                    },
                    "value": {
                      "description": "Submitted JSON value for the field. Null clears the value.",
                      "type": [
                        "string",
                        "number",
                        "boolean",
                        "object",
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key",
                    "value"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "discounts": {
                "description": "Discount or promo codes to apply to the cart. Only prompt if customer mentions having a discount code.",
                "properties": {
                  "codes": {
                    "description": "Discount codes to apply. Case-insensitive. Replaces previously submitted codes. Send empty array to clear.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "fulfillment": {
                "description": "Information about the fulfillment.",
                "properties": {
                  "methods": {
                    "description": "The methods of fulfillment.",
                    "items": {
                      "properties": {
                        "destinations": {
                          "description": "The destinations to fulfill to.",
                          "items": {
                            "properties": {
                              "address_country": {
                                "type": "string"
                              },
                              "address_locality": {
                                "type": "string"
                              },
                              "address_region": {
                                "type": "string"
                              },
                              "extended_address": {
                                "type": "string"
                              },
                              "first_name": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "last_name": {
                                "type": "string"
                              },
                              "phone_number": {
                                "type": "string"
                              },
                              "postal_code": {
                                "type": "string"
                              },
                              "street_address": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "groups": {
                          "description": "The groups to fulfill to.",
                          "items": {
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "selected_option_id": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "selected_destination_id": {
                          "description": "ID of the selected destination.",
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "line_items": {
                "description": "Items to add to the cart or checkout. Required when creating a new cart or checkout.",
                "items": {
                  "properties": {
                    "id": {
                      "description": "The ID of the line item to update.",
                      "type": "string"
                    },
                    "item": {
                      "properties": {
                        "id": {
                          "description": "The Product Variant ID to add or update.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "type": "object"
                    },
                    "quantity": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "item",
                    "quantity"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "payment": {
                "additionalProperties": true,
                "description": "Payment information for this checkout.",
                "properties": {
                  "instruments": {
                    "description": "Payment instruments for this checkout (e.g., credit cards, tokens, wallets).",
                    "items": {
                      "additionalProperties": true,
                      "allOf": [
                        {
                          "else": {
                            "properties": {
                              "credential": {
                                "properties": {
                                  "type": {
                                    "not": {
                                      "const": "apple_pay_token"
                                    }
                                  }
                                },
                                "required": [
                                  "type"
                                ]
                              }
                            }
                          },
                          "if": {
                            "properties": {
                              "handler_id": {
                                "const": "apple-pay"
                              }
                            },
                            "required": [
                              "handler_id"
                            ]
                          },
                          "then": {
                            "properties": {
                              "credential": {
                                "properties": {
                                  "type": {
                                    "const": "apple_pay_token"
                                  }
                                },
                                "required": [
                                  "type",
                                  "payment_data"
                                ]
                              },
                              "type": {
                                "const": "card"
                              }
                            },
                            "required": [
                              "billing_address",
                              "credential"
                            ]
                          }
                        }
                      ],
                      "properties": {
                        "billing_address": {
                          "additionalProperties": true,
                          "description": "Billing address for the instrument.",
                          "properties": {
                            "address_country": {
                              "description": "Country of the billing address in 2-letter ISO 3166-1 alpha-2 format.",
                              "type": "string"
                            },
                            "address_locality": {
                              "description": "Locality of the billing address.",
                              "type": "string"
                            },
                            "address_region": {
                              "description": "Region of the billing address.",
                              "type": "string"
                            },
                            "extended_address": {
                              "description": "Extended address of the billing address such as an apartment number, C/O, or alternative name.",
                              "type": "string"
                            },
                            "first_name": {
                              "description": "First name of the contact associated with the billing address.",
                              "type": "string"
                            },
                            "last_name": {
                              "description": "Last name of the contact associated with the billing address.",
                              "type": "string"
                            },
                            "phone_number": {
                              "description": "Phone number of the contact associated with the billing address.",
                              "type": "string"
                            },
                            "postal_code": {
                              "description": "Postal code of the billing address.",
                              "type": "string"
                            },
                            "street_address": {
                              "description": "Street address of the billing address.",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "credential": {
                          "additionalProperties": true,
                          "allOf": [
                            {
                              "else": {
                                "required": [
                                  "type"
                                ]
                              },
                              "if": {
                                "properties": {
                                  "type": {
                                    "const": "apple_pay_token"
                                  }
                                },
                                "required": [
                                  "type"
                                ]
                              },
                              "then": {
                                "properties": {
                                  "payment_data": {
                                    "additionalProperties": true,
                                    "properties": {
                                      "data": {
                                        "type": "string"
                                      },
                                      "header": {
                                        "additionalProperties": true,
                                        "anyOf": [
                                          {
                                            "required": [
                                              "ephemeral_public_key"
                                            ]
                                          },
                                          {
                                            "required": [
                                              "wrapped_key"
                                            ]
                                          }
                                        ],
                                        "properties": {
                                          "application_data": {
                                            "type": "string"
                                          },
                                          "ephemeral_public_key": {
                                            "type": "string"
                                          },
                                          "public_key_hash": {
                                            "type": "string"
                                          },
                                          "transaction_id": {
                                            "type": "string"
                                          },
                                          "wrapped_key": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "public_key_hash",
                                          "transaction_id"
                                        ],
                                        "type": "object"
                                      },
                                      "signature": {
                                        "type": "string"
                                      },
                                      "version": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "version",
                                      "data",
                                      "signature",
                                      "header"
                                    ],
                                    "type": "object"
                                  },
                                  "transaction_identifier": {
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "apple_pay_token"
                                  }
                                },
                                "required": [
                                  "type",
                                  "payment_data"
                                ]
                              }
                            }
                          ],
                          "description": "Payment credential payload to process the transaction for this instrument.",
                          "properties": {
                            "approval_id": {
                              "description": "Identifier of the payment approval authorizing this credential, as returned by the approvals API. Required for shop_pay credentials when the merchant requires payment approvals.",
                              "type": "string"
                            },
                            "payment_data": {
                              "type": "object"
                            },
                            "token": {
                              "description": "Opaque payment token value, required except when restating a platform-listed instrument (e.g., a Shop Pay wallet card) whose token the platform re-derives from the instrument id.",
                              "type": "string"
                            },
                            "transaction_identifier": {
                              "type": "string"
                            },
                            "type": {
                              "description": "Namespaced token type using dot notation (e.g., stripe.token, merchant.token, google.pay).",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "display": {
                          "additionalProperties": true,
                          "description": "Display information for this payment instrument.",
                          "properties": {
                            "brand": {
                              "description": "Card brand (e.g., visa, mastercard), when available.",
                              "type": "string"
                            },
                            "expiry_month": {
                              "description": "Card expiry month (1-12). Required for card instruments.",
                              "type": "integer"
                            },
                            "expiry_year": {
                              "description": "Card expiry year. Required for card instruments.",
                              "type": "integer"
                            },
                            "funding_source": {
                              "description": "How the card is funded, as reported by Apple Pay.",
                              "enum": [
                                "debit",
                                "credit",
                                "prepaid",
                                "store"
                              ],
                              "type": "string"
                            },
                            "last_digits": {
                              "description": "Last 4 digits of the card, when available.",
                              "type": "string"
                            },
                            "rich_card_art": {
                              "description": "Rich card art URL or identifier for the payment instrument.",
                              "type": "string"
                            },
                            "rich_text_description": {
                              "description": "Rich text description of the payment instrument for display purposes.",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "handler_id": {
                          "description": "Identifier of the payment handler that was used to generate this instrument.",
                          "type": "string"
                        },
                        "id": {
                          "description": "A unique identifier for this payment instrument instance.",
                          "type": "string"
                        },
                        "selected": {
                          "description": "Whether this instrument is the currently selected for the checkout.",
                          "type": "boolean"
                        },
                        "type": {
                          "description": "Instrument type. Apple Pay uses 'card' because the submitted instrument represents a tokenized card.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "handler_id",
                        "type"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            },
            "required": [
              "line_items"
            ],
            "type": "object"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "checkout"
        ],
        "type": "object"
      },
      "name": "create_checkout"
    },
    {
      "description": "Get the cart contents\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "description": "The ID of the cart. Format: 'gid://shopify/Cart/abc123'",
            "type": "string"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "id"
        ],
        "type": "object"
      },
      "name": "get_cart"
    },
    {
      "description": "Returns details about the checkout, including line items, totals, and any applicable discounts or taxes.\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "description": "The ID of the checkout to update. Format: 'gid://shopify/Checkout/abc123'",
            "type": "string"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "id"
        ],
        "type": "object"
      },
      "name": "get_checkout"
    },
    {
      "description": "Get the details of an order\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "description": "The ID of the order. Format: 'gid://shopify/Order/123'",
            "type": "string"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "id"
        ],
        "type": "object"
      },
      "name": "get_order"
    },
    {
      "description": "Retrieve complete product detail by identifier. Returns a singular product\nwith a relevant set of variants, exact pricing, and real-time availability.\nSupports interactive option selection via selected and preferences parameters\nfor variant narrowing and availability signals. Use for product detail page\nrendering and purchase decisions.\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "catalog": {
            "description": "Product detail parameters.",
            "properties": {
              "context": {
                "additionalProperties": true,
                "description": "Buyer signals for localization and personalization.",
                "properties": {
                  "address_country": {
                    "description": "Country code in ISO 3166-1 alpha-2 format.",
                    "type": "string"
                  },
                  "address_region": {
                    "description": "Region or state.",
                    "type": "string"
                  },
                  "currency": {
                    "description": "Currency code in ISO 4217 format.",
                    "type": "string"
                  },
                  "intent": {
                    "description": "Buyer intent.",
                    "type": "string"
                  },
                  "language": {
                    "description": "Language tag in IETF BCP 47 format.",
                    "type": "string"
                  },
                  "postal_code": {
                    "description": "Postal code.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "filters": {
                "additionalProperties": true,
                "description": "Narrowing criteria for catalog results.",
                "properties": {
                  "available": {
                    "default": true,
                    "description": "Filter by availability. Default true (only sale-ready items).",
                    "type": "boolean"
                  },
                  "categories": {
                    "description": "Category filters combined with OR logic.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "price": {
                    "description": "Price range filter.",
                    "properties": {
                      "max": {
                        "description": "Maximum price in minor currency units.",
                        "type": "integer"
                      },
                      "min": {
                        "description": "Minimum price in minor currency units.",
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "id": {
                "description": "Product ID.",
                "type": "string"
              },
              "preferences": {
                "description": "Buyer preferences.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "selected": {
                "description": "Selected variant options.",
                "items": {
                  "properties": {
                    "label": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              "signals": {
                "additionalProperties": true,
                "description": "Platform environment data.",
                "properties": {
                  "dev.ucp.buyer_ip": {
                    "description": "Buyer IP address.",
                    "type": "string"
                  },
                  "dev.ucp.user_agent": {
                    "description": "Buyer user agent.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            },
            "required": [
              "id"
            ],
            "type": "object"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "catalog"
        ],
        "type": "object"
      },
      "name": "get_product"
    },
    {
      "description": "Look up multiple products or variants by identifier.\nUse this tool to resolve multiple product/variant IDs in a single request.\n\nSupports:\n- Product IDs (gid://shopify/Product/...): Returns product with match: \"featured\"\n- Variant IDs (gid://shopify/ProductVariant/...): Returns parent product with the exact variant\n\nResults are grouped by product. Each variant includes an inputs array showing\nwhich request ID resolved to it and whether the match was exact or featured.\nIn versions that require input correlations, only matched variants are returned.\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n\nMaximum 10 IDs per request.\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "catalog": {
            "description": "Catalog lookup parameters.",
            "properties": {
              "context": {
                "additionalProperties": true,
                "description": "Buyer signals for localization and personalization.",
                "properties": {
                  "address_country": {
                    "description": "Country code in ISO 3166-1 alpha-2 format.",
                    "type": "string"
                  },
                  "address_region": {
                    "description": "Region or state.",
                    "type": "string"
                  },
                  "currency": {
                    "description": "Currency code in ISO 4217 format.",
                    "type": "string"
                  },
                  "intent": {
                    "description": "Buyer intent.",
                    "type": "string"
                  },
                  "language": {
                    "description": "Language tag in IETF BCP 47 format.",
                    "type": "string"
                  },
                  "postal_code": {
                    "description": "Postal code.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "filters": {
                "additionalProperties": true,
                "description": "Narrowing criteria for catalog results.",
                "properties": {
                  "available": {
                    "default": true,
                    "description": "Filter by availability. Default true (only sale-ready items).",
                    "type": "boolean"
                  },
                  "categories": {
                    "description": "Category filters combined with OR logic.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "price": {
                    "description": "Price range filter.",
                    "properties": {
                      "max": {
                        "description": "Maximum price in minor currency units.",
                        "type": "integer"
                      },
                      "min": {
                        "description": "Minimum price in minor currency units.",
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "ids": {
                "description": "Product IDs to look up.",
                "items": {
                  "type": "string"
                },
                "maxItems": 10,
                "minItems": 1,
                "type": "array"
              },
              "signals": {
                "additionalProperties": true,
                "description": "Platform environment data.",
                "properties": {
                  "dev.ucp.buyer_ip": {
                    "description": "Buyer IP address.",
                    "type": "string"
                  },
                  "dev.ucp.user_agent": {
                    "description": "Buyer user agent.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            },
            "required": [
              "ids"
            ],
            "type": "object"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "catalog"
        ],
        "type": "object"
      },
      "name": "lookup_catalog"
    },
    {
      "description": "Search for products from the online store, hosted on Shopify.\n\nThis tool can be used to search for products using natural language queries, specific filter criteria, or both.\nAt least one of query or filters must be provided.\n\nResults are paginated, with initial results limited to improve experience.\nUse the pagination.cursor from the response to fetch additional pages when users request more results.\n\nResponse conforms to the UCP catalog search capability (dev.ucp.shopping.catalog.search).\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "catalog": {
            "description": "Catalog search parameters.",
            "properties": {
              "context": {
                "additionalProperties": true,
                "description": "Buyer signals for localization and personalization.",
                "properties": {
                  "address_country": {
                    "description": "Country code in ISO 3166-1 alpha-2 format.",
                    "type": "string"
                  },
                  "address_region": {
                    "description": "Region or state.",
                    "type": "string"
                  },
                  "currency": {
                    "description": "Currency code in ISO 4217 format.",
                    "type": "string"
                  },
                  "intent": {
                    "description": "Buyer intent.",
                    "type": "string"
                  },
                  "language": {
                    "description": "Language tag in IETF BCP 47 format.",
                    "type": "string"
                  },
                  "postal_code": {
                    "description": "Postal code.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "filters": {
                "additionalProperties": true,
                "description": "Narrowing criteria for catalog results.",
                "properties": {
                  "available": {
                    "default": true,
                    "description": "Filter by availability. Default true (only sale-ready items).",
                    "type": "boolean"
                  },
                  "categories": {
                    "description": "Category filters combined with OR logic.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "price": {
                    "description": "Price range filter.",
                    "properties": {
                      "max": {
                        "description": "Maximum price in minor currency units.",
                        "type": "integer"
                      },
                      "min": {
                        "description": "Minimum price in minor currency units.",
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "pagination": {
                "description": "Pagination parameters.",
                "properties": {
                  "cursor": {
                    "description": "Pagination cursor.",
                    "type": "string"
                  },
                  "limit": {
                    "default": 10,
                    "description": "Number of results to return.",
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "query": {
                "description": "Search query string.",
                "type": "string"
              },
              "signals": {
                "additionalProperties": true,
                "description": "Platform environment data.",
                "properties": {
                  "dev.ucp.buyer_ip": {
                    "description": "Buyer IP address.",
                    "type": "string"
                  },
                  "dev.ucp.user_agent": {
                    "description": "Buyer user agent.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "catalog"
        ],
        "type": "object"
      },
      "name": "search_catalog"
    },
    {
      "description": "Perform updates to a cart.\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "cart": {
            "description": "Cart properties.",
            "properties": {
              "attribution": {
                "description": "Marketing attribution context for the buyer's session (referring domain, click IDs, UTM parameters). Forwarded to the cart for downstream reporting.",
                "properties": {
                  "activity_id_tag": {
                    "description": "Activity identifier parameter name.",
                    "type": "string"
                  },
                  "activity_id_value": {
                    "description": "Activity identifier value matching activity_id_tag.",
                    "type": "string"
                  },
                  "click_id_tag": {
                    "description": "Click identifier parameter name (e.g., 'gclid', 'fbclid').",
                    "type": "string"
                  },
                  "click_id_value": {
                    "description": "Click identifier value matching click_id_tag.",
                    "type": "string"
                  },
                  "referring_domain": {
                    "description": "Domain that referred the buyer to the merchant's storefront.",
                    "type": "string"
                  },
                  "utm_campaign": {
                    "description": "UTM campaign parameter.",
                    "type": "string"
                  },
                  "utm_content": {
                    "description": "UTM content parameter.",
                    "type": "string"
                  },
                  "utm_medium": {
                    "description": "UTM medium parameter.",
                    "type": "string"
                  },
                  "utm_source": {
                    "description": "UTM source parameter.",
                    "type": "string"
                  },
                  "utm_term": {
                    "description": "UTM term parameter.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "buyer": {
                "additionalProperties": true,
                "description": "Information about the buyer including email and phone number.",
                "properties": {
                  "consent": {
                    "additionalProperties": {
                      "additionalProperties": true,
                      "properties": {
                        "granted": {
                          "description": "Whether consent is granted.",
                          "type": "boolean"
                        },
                        "segments": {
                          "additionalProperties": {
                            "additionalProperties": true,
                            "properties": {
                              "granted": {
                                "description": "Whether consent is granted.",
                                "type": "boolean"
                              },
                              "source": {
                                "description": "Use platform for an explicit buyer decision. Business-sourced values do not update stored choices.",
                                "enum": [
                                  "business",
                                  "platform"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "granted",
                              "source"
                            ],
                            "type": "object"
                          },
                          "description": "One level of refinements. Marketing supports dev.ucp.consent.marketing.email and dev.ucp.consent.marketing.sms; a segment overrides its parent.",
                          "type": "object"
                        },
                        "source": {
                          "description": "Use platform for an explicit buyer decision. Business-sourced values do not update stored choices.",
                          "enum": [
                            "business",
                            "platform"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "granted",
                        "source"
                      ],
                      "type": "object"
                    },
                    "description": "Per-purpose buyer consent decisions, keyed by reverse-DNS identifiers. Omission leaves existing choices unchanged.",
                    "type": "object"
                  },
                  "email": {
                    "format": "email",
                    "type": "string"
                  },
                  "phone_number": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "context": {
                "additionalProperties": true,
                "description": "Provisional context hints for localization and pricing. Used when authoritative data (e.g., shipping address) is missing; higher-resolution data supersedes these values and unsupported hints may be ignored without error.",
                "properties": {
                  "address_country": {
                    "description": "Country hint for localization.",
                    "type": "string"
                  },
                  "address_region": {
                    "description": "Region/state hint for localization.",
                    "type": "string"
                  },
                  "currency": {
                    "description": "Preferred currency (ISO 4217, e.g., 'EUR', 'USD').",
                    "type": "string"
                  },
                  "eligibility": {
                    "description": "Buyer claims about eligible benefits such as loyalty membership, payment perks, and similar.",
                    "items": {
                      "description": "Reverse-domain identifier. Must contain at least two dot-separated segments (e.g., 'com.example.loyalty').",
                      "pattern": "^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$",
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "intent": {
                    "description": "Context describing buyer's intent.",
                    "type": "string"
                  },
                  "language": {
                    "description": "Language tag in IETF BCP 47 format.",
                    "type": "string"
                  },
                  "postal_code": {
                    "description": "Postal code hint for localization.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "declared_fields": {
                "description": "Merchant-defined cart or checkout fields and their values. On updates, replaces previously submitted custom field values; omitted or null fields are cleared. Send empty array to clear all custom fields.",
                "items": {
                  "properties": {
                    "key": {
                      "description": "Unique identifier for the declared field.",
                      "type": "string"
                    },
                    "value": {
                      "description": "Submitted JSON value for the field. Null clears the value.",
                      "type": [
                        "string",
                        "number",
                        "boolean",
                        "object",
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key",
                    "value"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "discounts": {
                "description": "Discount or promo codes to apply to the cart. Only prompt if customer mentions having a discount code.",
                "properties": {
                  "codes": {
                    "description": "Discount codes to apply. Case-insensitive. Replaces previously submitted codes. Send empty array to clear.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "fulfillment": {
                "description": "Information about the fulfillment.",
                "properties": {
                  "methods": {
                    "description": "The methods of fulfillment.",
                    "items": {
                      "properties": {
                        "destinations": {
                          "description": "The destinations to fulfill to.",
                          "items": {
                            "properties": {
                              "address_country": {
                                "type": "string"
                              },
                              "address_locality": {
                                "type": "string"
                              },
                              "address_region": {
                                "type": "string"
                              },
                              "extended_address": {
                                "type": "string"
                              },
                              "first_name": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "last_name": {
                                "type": "string"
                              },
                              "phone_number": {
                                "type": "string"
                              },
                              "postal_code": {
                                "type": "string"
                              },
                              "street_address": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "groups": {
                          "description": "The groups to fulfill to.",
                          "items": {
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "selected_option_id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "id": {
                          "type": "string"
                        },
                        "line_item_ids": {
                          "description": "The line item ids to fulfill.",
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "selected_destination_id": {
                          "description": "ID of the selected destination.",
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "line_item_ids"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "line_items": {
                "description": "Items to add to the cart or checkout. Required when creating a new cart or checkout.",
                "items": {
                  "properties": {
                    "id": {
                      "description": "The ID of the line item to update.",
                      "type": "string"
                    },
                    "item": {
                      "properties": {
                        "id": {
                          "description": "The Product Variant ID to add or update.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "type": "object"
                    },
                    "quantity": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "item",
                    "quantity"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "line_items"
            ],
            "type": "object"
          },
          "id": {
            "description": "The ID of the cart. Format: 'gid://shopify/Cart/abc123'",
            "type": "string"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "cart",
          "id"
        ],
        "type": "object"
      },
      "name": "update_cart"
    },
    {
      "description": "Updates a checkout. Returns checkout details, including line items, totals, and any applicable discounts or taxes.\n\nPrices in the response are integers in the currency's ISO 4217 minor units, paired with\na currency code: {\"amount\": 600, \"currency\": \"USD\"} is $6.00 and {\"amount\": 2500,\n\"currency\": \"USD\"} is $25.00. Convert to major units before quoting a price to a buyer\n(divide by 100 for two-decimal currencies such as USD and EUR; zero-decimal currencies\nsuch as JPY are already whole units).\n\n",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "checkout": {
            "description": "Checkout properties.",
            "properties": {
              "attribution": {
                "description": "Marketing attribution context for the buyer's session (referring domain, click IDs, UTM parameters).",
                "properties": {
                  "activity_id_tag": {
                    "description": "Activity identifier parameter name.",
                    "type": "string"
                  },
                  "activity_id_value": {
                    "description": "Activity identifier value matching activity_id_tag.",
                    "type": "string"
                  },
                  "click_id_tag": {
                    "description": "Click identifier parameter name (e.g., 'gclid', 'fbclid').",
                    "type": "string"
                  },
                  "click_id_value": {
                    "description": "Click identifier value matching click_id_tag.",
                    "type": "string"
                  },
                  "referring_domain": {
                    "description": "Domain that referred the buyer to the merchant's storefront.",
                    "type": "string"
                  },
                  "utm_campaign": {
                    "description": "UTM campaign parameter.",
                    "type": "string"
                  },
                  "utm_content": {
                    "description": "UTM content parameter.",
                    "type": "string"
                  },
                  "utm_medium": {
                    "description": "UTM medium parameter.",
                    "type": "string"
                  },
                  "utm_source": {
                    "description": "UTM source parameter.",
                    "type": "string"
                  },
                  "utm_term": {
                    "description": "UTM term parameter.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "buyer": {
                "additionalProperties": true,
                "description": "Information about the buyer including email and phone number.",
                "properties": {
                  "consent": {
                    "additionalProperties": {
                      "additionalProperties": true,
                      "properties": {
                        "granted": {
                          "description": "Whether consent is granted.",
                          "type": "boolean"
                        },
                        "segments": {
                          "additionalProperties": {
                            "additionalProperties": true,
                            "properties": {
                              "granted": {
                                "description": "Whether consent is granted.",
                                "type": "boolean"
                              },
                              "source": {
                                "description": "Use platform for an explicit buyer decision. Business-sourced values do not update stored choices.",
                                "enum": [
                                  "business",
                                  "platform"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "granted",
                              "source"
                            ],
                            "type": "object"
                          },
                          "description": "One level of refinements. Marketing supports dev.ucp.consent.marketing.email and dev.ucp.consent.marketing.sms; a segment overrides its parent.",
                          "type": "object"
                        },
                        "source": {
                          "description": "Use platform for an explicit buyer decision. Business-sourced values do not update stored choices.",
                          "enum": [
                            "business",
                            "platform"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "granted",
                        "source"
                      ],
                      "type": "object"
                    },
                    "description": "Per-purpose buyer consent decisions, keyed by reverse-DNS identifiers. Omission leaves existing choices unchanged.",
                    "type": "object"
                  },
                  "email": {
                    "format": "email",
                    "type": "string"
                  },
                  "phone_number": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "context": {
                "additionalProperties": true,
                "description": "Provisional context hints for localization and pricing. Used when authoritative data (e.g., shipping address) is missing; higher-resolution data supersedes these values and unsupported hints may be ignored without error.",
                "properties": {
                  "address_country": {
                    "description": "Country hint for localization.",
                    "type": "string"
                  },
                  "address_region": {
                    "description": "Region/state hint for localization.",
                    "type": "string"
                  },
                  "currency": {
                    "description": "Preferred currency (ISO 4217, e.g., 'EUR', 'USD').",
                    "type": "string"
                  },
                  "eligibility": {
                    "description": "Buyer claims about eligible benefits such as loyalty membership, payment perks, and similar.",
                    "items": {
                      "description": "Reverse-domain identifier. Must contain at least two dot-separated segments (e.g., 'com.example.loyalty').",
                      "pattern": "^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$",
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "intent": {
                    "description": "Context describing buyer's intent.",
                    "type": "string"
                  },
                  "language": {
                    "description": "Language tag in IETF BCP 47 format.",
                    "type": "string"
                  },
                  "postal_code": {
                    "description": "Postal code hint for localization.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "declared_fields": {
                "description": "Merchant-defined cart or checkout fields and their values. On updates, replaces previously submitted custom field values; omitted or null fields are cleared. Send empty array to clear all custom fields.",
                "items": {
                  "properties": {
                    "key": {
                      "description": "Unique identifier for the declared field.",
                      "type": "string"
                    },
                    "value": {
                      "description": "Submitted JSON value for the field. Null clears the value.",
                      "type": [
                        "string",
                        "number",
                        "boolean",
                        "object",
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key",
                    "value"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "discounts": {
                "description": "Discount or promo codes to apply to the cart. Only prompt if customer mentions having a discount code.",
                "properties": {
                  "codes": {
                    "description": "Discount codes to apply. Case-insensitive. Replaces previously submitted codes. Send empty array to clear.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "fulfillment": {
                "description": "Information about the fulfillment.",
                "properties": {
                  "methods": {
                    "description": "The methods of fulfillment.",
                    "items": {
                      "properties": {
                        "destinations": {
                          "description": "The destinations to fulfill to.",
                          "items": {
                            "properties": {
                              "address_country": {
                                "type": "string"
                              },
                              "address_locality": {
                                "type": "string"
                              },
                              "address_region": {
                                "type": "string"
                              },
                              "extended_address": {
                                "type": "string"
                              },
                              "first_name": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "last_name": {
                                "type": "string"
                              },
                              "phone_number": {
                                "type": "string"
                              },
                              "postal_code": {
                                "type": "string"
                              },
                              "street_address": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "groups": {
                          "description": "The groups to fulfill to.",
                          "items": {
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "selected_option_id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "id": {
                          "type": "string"
                        },
                        "line_item_ids": {
                          "description": "The line item ids to fulfill.",
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "selected_destination_id": {
                          "description": "ID of the selected destination.",
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "line_item_ids"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "line_items": {
                "description": "Items to add to the cart or checkout. Required when creating a new cart or checkout.",
                "items": {
                  "properties": {
                    "id": {
                      "description": "The ID of the line item to update.",
                      "type": "string"
                    },
                    "item": {
                      "properties": {
                        "id": {
                          "description": "The Product Variant ID to add or update.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "type": "object"
                    },
                    "quantity": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "item",
                    "quantity"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "payment": {
                "additionalProperties": true,
                "description": "Payment information for this checkout.",
                "properties": {
                  "instruments": {
                    "description": "Payment instruments for this checkout (e.g., credit cards, tokens, wallets).",
                    "items": {
                      "additionalProperties": true,
                      "allOf": [
                        {
                          "else": {
                            "properties": {
                              "credential": {
                                "properties": {
                                  "type": {
                                    "not": {
                                      "const": "apple_pay_token"
                                    }
                                  }
                                },
                                "required": [
                                  "type"
                                ]
                              }
                            }
                          },
                          "if": {
                            "properties": {
                              "handler_id": {
                                "const": "apple-pay"
                              }
                            },
                            "required": [
                              "handler_id"
                            ]
                          },
                          "then": {
                            "properties": {
                              "credential": {
                                "properties": {
                                  "type": {
                                    "const": "apple_pay_token"
                                  }
                                },
                                "required": [
                                  "type",
                                  "payment_data"
                                ]
                              },
                              "type": {
                                "const": "card"
                              }
                            },
                            "required": [
                              "billing_address",
                              "credential"
                            ]
                          }
                        }
                      ],
                      "properties": {
                        "billing_address": {
                          "additionalProperties": true,
                          "description": "Billing address for the instrument.",
                          "properties": {
                            "address_country": {
                              "description": "Country of the billing address in 2-letter ISO 3166-1 alpha-2 format.",
                              "type": "string"
                            },
                            "address_locality": {
                              "description": "Locality of the billing address.",
                              "type": "string"
                            },
                            "address_region": {
                              "description": "Region of the billing address.",
                              "type": "string"
                            },
                            "extended_address": {
                              "description": "Extended address of the billing address such as an apartment number, C/O, or alternative name.",
                              "type": "string"
                            },
                            "first_name": {
                              "description": "First name of the contact associated with the billing address.",
                              "type": "string"
                            },
                            "last_name": {
                              "description": "Last name of the contact associated with the billing address.",
                              "type": "string"
                            },
                            "phone_number": {
                              "description": "Phone number of the contact associated with the billing address.",
                              "type": "string"
                            },
                            "postal_code": {
                              "description": "Postal code of the billing address.",
                              "type": "string"
                            },
                            "street_address": {
                              "description": "Street address of the billing address.",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "credential": {
                          "additionalProperties": true,
                          "allOf": [
                            {
                              "else": {
                                "required": [
                                  "type"
                                ]
                              },
                              "if": {
                                "properties": {
                                  "type": {
                                    "const": "apple_pay_token"
                                  }
                                },
                                "required": [
                                  "type"
                                ]
                              },
                              "then": {
                                "properties": {
                                  "payment_data": {
                                    "additionalProperties": true,
                                    "properties": {
                                      "data": {
                                        "type": "string"
                                      },
                                      "header": {
                                        "additionalProperties": true,
                                        "anyOf": [
                                          {
                                            "required": [
                                              "ephemeral_public_key"
                                            ]
                                          },
                                          {
                                            "required": [
                                              "wrapped_key"
                                            ]
                                          }
                                        ],
                                        "properties": {
                                          "application_data": {
                                            "type": "string"
                                          },
                                          "ephemeral_public_key": {
                                            "type": "string"
                                          },
                                          "public_key_hash": {
                                            "type": "string"
                                          },
                                          "transaction_id": {
                                            "type": "string"
                                          },
                                          "wrapped_key": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "public_key_hash",
                                          "transaction_id"
                                        ],
                                        "type": "object"
                                      },
                                      "signature": {
                                        "type": "string"
                                      },
                                      "version": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "version",
                                      "data",
                                      "signature",
                                      "header"
                                    ],
                                    "type": "object"
                                  },
                                  "transaction_identifier": {
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "apple_pay_token"
                                  }
                                },
                                "required": [
                                  "type",
                                  "payment_data"
                                ]
                              }
                            }
                          ],
                          "description": "Payment credential payload to process the transaction for this instrument.",
                          "properties": {
                            "approval_id": {
                              "description": "Identifier of the payment approval authorizing this credential, as returned by the approvals API. Required for shop_pay credentials when the merchant requires payment approvals.",
                              "type": "string"
                            },
                            "payment_data": {
                              "type": "object"
                            },
                            "token": {
                              "description": "Opaque payment token value, required except when restating a platform-listed instrument (e.g., a Shop Pay wallet card) whose token the platform re-derives from the instrument id.",
                              "type": "string"
                            },
                            "transaction_identifier": {
                              "type": "string"
                            },
                            "type": {
                              "description": "Namespaced token type using dot notation (e.g., stripe.token, merchant.token, google.pay).",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "display": {
                          "additionalProperties": true,
                          "description": "Display information for this payment instrument.",
                          "properties": {
                            "brand": {
                              "description": "Card brand (e.g., visa, mastercard), when available.",
                              "type": "string"
                            },
                            "expiry_month": {
                              "description": "Card expiry month (1-12). Required for card instruments.",
                              "type": "integer"
                            },
                            "expiry_year": {
                              "description": "Card expiry year. Required for card instruments.",
                              "type": "integer"
                            },
                            "funding_source": {
                              "description": "How the card is funded, as reported by Apple Pay.",
                              "enum": [
                                "debit",
                                "credit",
                                "prepaid",
                                "store"
                              ],
                              "type": "string"
                            },
                            "last_digits": {
                              "description": "Last 4 digits of the card, when available.",
                              "type": "string"
                            },
                            "rich_card_art": {
                              "description": "Rich card art URL or identifier for the payment instrument.",
                              "type": "string"
                            },
                            "rich_text_description": {
                              "description": "Rich text description of the payment instrument for display purposes.",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "handler_id": {
                          "description": "Identifier of the payment handler that was used to generate this instrument.",
                          "type": "string"
                        },
                        "id": {
                          "description": "A unique identifier for this payment instrument instance.",
                          "type": "string"
                        },
                        "selected": {
                          "description": "Whether this instrument is the currently selected for the checkout.",
                          "type": "boolean"
                        },
                        "type": {
                          "description": "Instrument type. Apple Pay uses 'card' because the submitted instrument represents a tokenized card.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "handler_id",
                        "type"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            },
            "required": [
              "line_items"
            ],
            "type": "object"
          },
          "id": {
            "description": "The ID of the checkout to update. Format: 'gid://shopify/Checkout/abc123'",
            "type": "string"
          },
          "meta": {
            "description": "Metadata for UCP agent profile discovery.",
            "properties": {
              "ucp-agent": {
                "properties": {
                  "profile": {
                    "description": "Agent profile URI for UCP discovery.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "profile"
                ],
                "type": "object"
              }
            },
            "required": [
              "ucp-agent"
            ],
            "type": "object"
          }
        },
        "required": [
          "meta",
          "checkout",
          "id"
        ],
        "type": "object"
      },
      "name": "update_checkout"
    }
  ]
}

What the leaf hashes

{"body":"968b4cce3fe5802bdbb5e196818706177e29e46f7d450e35e7662eb1cfc1b62a","id":2492761,"kind":"mcp.tools","method":"probe.mcp/1","observed_us":1793667041362241,"prev":1734382,"subject":"36e9ed3a-f2e6-4321-81f9-8e767cfdf81a","subject_kind":"endpoint"}

Proof

Fold these into the leaf in order, hashing each sorted pair with keccak256, to reach the root of (425475 rows).

  1. 0x4e228e22adf3b935a583cb478a3b41035cc3c89dac60dbacf282ebe23e991883
  2. 0x1ca996796cb7583bc05313685ce0d58e0e0a8b442f619689b3c363c3ee6ef889
  3. 0xdd5a68a7293a193c0a2722bbba9320eb9759e8fd78754881b75b9df029b38ee5
  4. 0x7e40f473674fe2c5a939d4911544c4e68e5d1c4f7ce1f2b78ffe6d3f6c67cc33
  5. 0xb4c0fd48cb1731ac996f00b8f8105e4d580b1862f048cdbed53c0c281e9f4d3f
  6. 0x446afd20a3709a67d8d6dcd1ff21d0fdce1fe646526866b39dc7a17cce5150b4
  7. 0x5dc5e4a24c9aaefea848a88e4ab0d1d262746958b48d710dd6b9e60bf984926d
  8. 0x9af1849a0a4da6db867f56e053eb1692413807ee281a93fb54c374e94504f5cf
  9. 0x3549d17ed2f9c351a28b4c2f8804f20a621aee5caa6a16385c59e521bcb000b7
  10. 0x03f034da50ad9fb2547f795e0425df96ec576f1d2684ca3e99dbf42a57c4c0cb
  11. 0xb03d81357842083fa636c6da2ea9eacc8c1ede3e3136169d2e1208a9d57547b8
  12. 0xeb5dc94121e9ce65117d2bddd583629e94d10366ce6bd13180fdc3395c2279c1
  13. 0x22f82e035d3ea6cb5d84043480913f82c413a83d3ed928d72d0127600d8acbe9
  14. 0x5e9968227987a7f0940fee03a33017f5e7157de7f0889921817733c1ab8871d1
  15. 0xd106fbd3b5dac57c72dd4fc8931f69b38fd5a542627e63d015b63dadf2188a2f
  16. 0x35ca4633a97853eefbf38aaf743dd7ff85a4c731ccc8e31a34fd826c3142d6ea
  17. 0x87df2ed9052c264d606c076742aa7e54b69fc8344b21e972ebcb19d020b7ecf3
  18. 0x012ad914f3f945da3b6b48eddc7a1388613e4afc04339deb76c609611864e9b9
  19. 0xe35032d4b064b015fe60638756eeb0bc24e7c7943586468d33349341ee0ed3d6
Day root
0xb646ffa569e24bf8336b0a15a9d98d0a2f1239f58e10c2b18a9d22e43343566a
Chained
0x35e926359fd19031c6b5e08fb3b44f2524386a57c8fdd353336c185603f53d43
Published
On Arc Testnet, block 70601990: 0xa5f9dadba13cde129126b950e64b815e6833cb8ff53b75026c9dbe769c3768c7

How to check it · This row as JSON