{"result":{"tools":[{"name":"search_catalog","title":"Search the catalogue","description":"UCP's catalogue search, read-only. Every word of catalog.query must match; with none, every offer. Each product's metadata says how it is paid, what it delivers, its terms' hash, and how to buy it.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"meta":{"description":"UCP's request metadata. `ucp-agent` is read if given; this business does not require it.","type":"object","properties":{"ucp-agent":{"type":"object","properties":{"profile":{"type":"string"}},"required":["profile"],"additionalProperties":{}},"idempotency-key":{"type":"string"}},"additionalProperties":{}},"catalog":{"default":{},"type":"object","properties":{"query":{"description":"Free text. Every word must match the offer's name, words or kind.","type":"string"},"context":{"type":"object","properties":{},"additionalProperties":{}},"signals":{"type":"object","properties":{},"additionalProperties":{}},"attribution":{"type":"object","properties":{},"additionalProperties":{}},"filters":{"description":"UCP's search filters: categories (any of), and price in USD cents (min, max).","type":"object","properties":{"categories":{"type":"array","items":{"type":"string"}},"price":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9007199254740991},"max":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":{}}},"additionalProperties":{}},"pagination":{"type":"object","properties":{"cursor":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":9007199254740991}},"additionalProperties":{}}},"additionalProperties":{}}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"lookup_catalog","title":"Look up products","description":"UCP's catalogue lookup by ids, read-only. Give catalog.ids: offer ids, or variant ids (\"<offer>:default\").","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"meta":{"description":"UCP's request metadata. `ucp-agent` is read if given; this business does not require it.","type":"object","properties":{"ucp-agent":{"type":"object","properties":{"profile":{"type":"string"}},"required":["profile"],"additionalProperties":{}},"idempotency-key":{"type":"string"}},"additionalProperties":{}},"catalog":{"type":"object","properties":{"ids":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string"},"description":"Product ids (an offer's id) or variant ids."},"filters":{"description":"UCP's search filters: categories (any of), and price in USD cents (min, max).","type":"object","properties":{"categories":{"type":"array","items":{"type":"string"}},"price":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9007199254740991},"max":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":{}}},"additionalProperties":{}},"context":{"type":"object","properties":{},"additionalProperties":{}},"signals":{"type":"object","properties":{},"additionalProperties":{}},"attribution":{"type":"object","properties":{},"additionalProperties":{}}},"required":["ids"],"additionalProperties":{}}},"required":["catalog"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_product","title":"Get a product","description":"UCP's product by id, read-only. Give catalog.id: an offer's id. A booking lists its free slots in metadata.slots.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"meta":{"description":"UCP's request metadata. `ucp-agent` is read if given; this business does not require it.","type":"object","properties":{"ucp-agent":{"type":"object","properties":{"profile":{"type":"string"}},"required":["profile"],"additionalProperties":{}},"idempotency-key":{"type":"string"}},"additionalProperties":{}},"catalog":{"type":"object","properties":{"id":{"type":"string","description":"A product id (an offer's id) or its variant's id."},"selected":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":{}}},"preferences":{"type":"array","items":{"type":"string"}},"filters":{"description":"UCP's search filters: categories (any of), and price in USD cents (min, max).","type":"object","properties":{"categories":{"type":"array","items":{"type":"string"}},"price":{"type":"object","properties":{"min":{"type":"integer","minimum":0,"maximum":9007199254740991},"max":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":{}}},"additionalProperties":{}},"context":{"type":"object","properties":{},"additionalProperties":{}},"signals":{"type":"object","properties":{},"additionalProperties":{}},"attribution":{"type":"object","properties":{},"additionalProperties":{}}},"required":["id"],"additionalProperties":{}}},"required":["catalog"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_terms","title":"Read the terms","description":"The business's terms, and an offer's terms with their hash. Without an offer: /terms.md, its address and its SHA-256. With one: that offer's terms word for word, their RFC 8785 form and its SHA-256, which /terms.md names.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"offer":{"type":"string","maxLength":48,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"The offer's id: lowercase letters and digits in words joined by \"-\", as \"house-roast\"."}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"negotiate","title":"Negotiate a price","description":"Negotiate an offer's price with the seller's agent, for an offer whose price is open to negotiation. Propose an amount in dollars and cents, as \"7.50\", with your words; to continue, name the negotiation you were given. At most 4 rounds. An accepted price stands for 10 minutes, for one purchase: name the negotiation as `quote` when you call buy. The same exchange is served at POST /negotiate/<offer>.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"offer":{"type":"string","maxLength":48,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"The offer's id: lowercase letters and digits in words joined by \"-\", as \"house-roast\"."},"amount":{"type":"string","pattern":"^(?:[1-9][0-9]{0,6}\\.[0-9]{2}|0\\.(?:0[1-9]|[1-9][0-9]))$","description":"The price the buyer proposes, in dollars and cents.","examples":["18.00","2.30"]},"text":{"type":"string","maxLength":1000,"description":"The buyer's words."},"negotiation":{"description":"The negotiation to continue; absent on the first round.","type":"string","pattern":"^neg_[A-Za-z0-9_-]{16,64}$"}},"required":["offer","amount","text"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"buy","title":"Buy an offer","description":"Buy an offer, paid by x402. Its answer carries the address of the proof. For demonstration only. This transaction runs on a test network with test money, and has no value. x402 version 2 over MCP: the first call answers payment required (isError, with the PaymentRequired in structuredContent), which carries the agreement's hash and link in extensions.legalContext. Fetch the link, hash the bytes with SHA-256, and compare before you sign. Then call buy again with the same arguments and the payment object in params._meta[\"x402/payment\"]; the result carries the delivery, the proof's address, and the receipt in _meta[\"x402/payment-response\"]. The payment may name itself with x402's payment-identifier (an id in its extensions): the same payment sent again with that id is answered from the first. The challenge's offer, and the receipt, are signed by the shop's key (x402's offer-receipt, a JWS whose kid is in /.well-known/did.json). `with` holds what the offer asks for (see the catalogue), and is written into the agreement, which is public. Paid in test USDC on Base Sepolia (eip155:84532): one cent of the price is one millionth of a USDC. An offer paid later (its catalogue metadata says payment.when \"deferred\") asks only 0.000001 USDC, which anchors the agreement on chain and is not part of the price: the agreement's deferred slot says what is owed, when it is due and how it is to be paid.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"offer":{"type":"string","maxLength":48,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"The offer's id: lowercase letters and digits in words joined by \"-\", as \"house-roast\"."},"quote":{"type":"string","pattern":"^neg_[A-Za-z0-9_-]{16,64}$"},"with":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"additionalProperties":{"type":"string","minLength":1,"maxLength":1000}}},"required":["offer"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"test_buy","title":"Test your agent","description":"A checkout for testing your agent. The hash it advertises has one character changed. An agent that checks signs nothing. Nothing is sold here. The same arguments and the same x402 over MCP as buy. For demonstration only. This transaction runs on a test network with test money, and has no value.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"offer":{"type":"string","maxLength":48,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"The offer's id: lowercase letters and digits in words joined by \"-\", as \"house-roast\"."},"quote":{"type":"string","pattern":"^neg_[A-Za-z0-9_-]{16,64}$"},"with":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"additionalProperties":{"type":"string","minLength":1,"maxLength":1000}}},"required":["offer"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"get_purchase","title":"Get a purchase","description":"A purchase's state, what was delivered (its kind, size and SHA-256, never its bytes) and the address of its proof, by the agreement's hash. The delivery itself is in the answer to the paid request: to receive it again, send the same payment again. The proof page is at https://integra-lens-merch-live.demos.integraledger.net/proof/<atrHash>.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"atrHash":{"type":"string","pattern":"^0x[0-9a-f]{64}$","description":"SHA-256 over the ATR's exact bytes: 0x and 64 lowercase hex."}},"required":["atrHash"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"create_checkout","title":"Create a checkout (UCP)","description":"UCP's Create Checkout (UCP 2026-08-25, MCP binding), for a UCP platform. meta[\"ucp-agent\"].profile names the UCP platform's profile, which the business fetches and checks; a request signed as UCP's signatures specification says (RFC 9421, at the HTTP layer, as over REST) is verified against the profile's keys. One line item: an offer's id, or a booking's slot as the variant <offer>:<slot>, as the catalogue lists it. The buyer's name, email and phone go in buyer, a delivery address in a shipping method of fulfillment, an agreed price from negotiate as a discount code (its negotiation id), and anything else the offer asks for in com.integraledger.lcp.with; all of it is written into the agreement, which is public. Once nothing is missing the checkout is ready_for_complete: its links carry the agreement as legal_context (title lcp:sha256:<H>), and its payment handler com.integraledger.lcp.x402 carries the x402 payment to sign. Paid in test USDC on Base Sepolia (eip155:84532): one cent of the price is one millionth of a USDC. Its result is UCP's shopping/checkout (https://ucp.dev/2026-08-25/schemas/shopping/checkout.json), or UCP's error response.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"meta":{"type":"object","properties":{"ucp-agent":{"type":"object","properties":{"profile":{"type":"string","format":"uri"}},"required":["profile"],"additionalProperties":{}},"idempotency-key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["ucp-agent"],"additionalProperties":{}},"checkout":{"type":"object","properties":{"line_items":{"type":"array","items":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string"},"quantity_unit":{"type":"object","properties":{"unit":{"type":"string"},"scale":{"default":0,"type":"integer","minimum":0,"maximum":15},"display_text":{"type":"string"},"increment":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["unit","display_text"],"additionalProperties":{}}},"required":["id"],"additionalProperties":{}},"quantity":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["item","quantity"],"additionalProperties":{}}},"buyer":{"type":"object","properties":{"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string"},"phone_number":{"type":"string"}},"additionalProperties":{}},"context":{"type":"object","properties":{"address_country":{"type":"string"},"address_region":{"type":"string"},"postal_code":{"type":"string"},"location":{"type":"string"},"intent":{"type":"string"},"language":{"type":"string"},"currency":{"type":"string"},"eligibility":{"type":"array","items":{"type":"string","pattern":"^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$","description":"A reverse-domain name, such as dev.ucp.shopping.checkout."}},"payment":{"type":"array","items":{"type":"object","properties":{"handler":{"type":"string","pattern":"^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$","description":"A reverse-domain name, such as dev.ucp.shopping.checkout."},"types":{"type":"array","items":{"type":"string"}}},"required":["handler"],"additionalProperties":{}}}},"additionalProperties":{}},"signals":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$","description":"A reverse-domain name, such as dev.ucp.shopping.checkout."},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"attribution":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"payment":{"type":"object","properties":{"instruments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"handler_id":{"type":"string","description":"The `id` of the handler declaration it is paid through."},"type":{"type":"string"},"billing_address":{"type":"object","properties":{"extended_address":{"type":"string"},"street_address":{"type":"string"},"address_locality":{"type":"string"},"address_region":{"type":"string"},"address_country":{"type":"string"},"postal_code":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"phone_number":{"type":"string"}},"additionalProperties":{}},"credential":{"type":"object","properties":{"type":{"type":"string"}},"required":["type"],"additionalProperties":{}},"display":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"selected":{"type":"boolean"}},"required":["id","handler_id","type"],"additionalProperties":{}}}},"additionalProperties":{}},"discounts":{"type":"object","properties":{"codes":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}},"fulfillment":{"type":"object","properties":{"methods":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"destinations":{"type":"array","items":{"type":"object","properties":{"extended_address":{"type":"string"},"street_address":{"type":"string"},"address_locality":{"type":"string"},"address_region":{"type":"string"},"address_country":{"type":"string"},"postal_code":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"phone_number":{"type":"string"},"id":{"type":"string"},"type":{"type":"string","const":"shipping_address"}},"additionalProperties":{}}},"selected_destination_id":{"type":["string","null"]},"groups":{"type":"array","items":{"type":"object","properties":{"selected_option_id":{"type":["string","null"]}},"additionalProperties":{}}}},"required":["type"],"additionalProperties":{}}}},"additionalProperties":{}},"id":{"not":{}}},"required":["line_items"],"additionalProperties":{}}},"required":["meta","checkout"],"additionalProperties":{},"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"get_checkout","title":"Get a checkout (UCP)","description":"UCP's Get Checkout: the checkout's state, for the platform that opened it. meta[\"ucp-agent\"].profile names the UCP platform's profile, which the business fetches and checks; a request signed as UCP's signatures specification says (RFC 9421, at the HTTP layer, as over REST) is verified against the profile's keys. Its result is UCP's shopping/checkout (https://ucp.dev/2026-08-25/schemas/shopping/checkout.json), or UCP's error response.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"meta":{"type":"object","properties":{"ucp-agent":{"type":"object","properties":{"profile":{"type":"string","format":"uri"}},"required":["profile"],"additionalProperties":{}},"idempotency-key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["ucp-agent"],"additionalProperties":{}},"id":{"type":"string"}},"required":["meta","id"],"additionalProperties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"update_checkout","title":"Update a checkout (UCP)","description":"UCP's Update Checkout: a full replacement of the checkout's line items, buyer, fulfillment and discounts. A change of its terms issues a new agreement, with a new hash. meta[\"ucp-agent\"].profile names the UCP platform's profile, which the business fetches and checks; a request signed as UCP's signatures specification says (RFC 9421, at the HTTP layer, as over REST) is verified against the profile's keys. Its result is UCP's shopping/checkout (https://ucp.dev/2026-08-25/schemas/shopping/checkout.json), or UCP's error response.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"meta":{"type":"object","properties":{"ucp-agent":{"type":"object","properties":{"profile":{"type":"string","format":"uri"}},"required":["profile"],"additionalProperties":{}},"idempotency-key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["ucp-agent"],"additionalProperties":{}},"id":{"type":"string"},"checkout":{"type":"object","properties":{"line_items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"item":{"type":"object","properties":{"id":{"type":"string"},"quantity_unit":{"type":"object","properties":{"unit":{"type":"string"},"scale":{"default":0,"type":"integer","minimum":0,"maximum":15},"display_text":{"type":"string"},"increment":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["unit","display_text"],"additionalProperties":{}}},"required":["id"],"additionalProperties":{}},"quantity":{"type":"integer","minimum":1,"maximum":9007199254740991},"parent_id":{"type":"string"}},"required":["item","quantity"],"additionalProperties":{}}},"buyer":{"type":"object","properties":{"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string"},"phone_number":{"type":"string"}},"additionalProperties":{}},"context":{"type":"object","properties":{"address_country":{"type":"string"},"address_region":{"type":"string"},"postal_code":{"type":"string"},"location":{"type":"string"},"intent":{"type":"string"},"language":{"type":"string"},"currency":{"type":"string"},"eligibility":{"type":"array","items":{"type":"string","pattern":"^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$","description":"A reverse-domain name, such as dev.ucp.shopping.checkout."}},"payment":{"type":"array","items":{"type":"object","properties":{"handler":{"type":"string","pattern":"^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$","description":"A reverse-domain name, such as dev.ucp.shopping.checkout."},"types":{"type":"array","items":{"type":"string"}}},"required":["handler"],"additionalProperties":{}}}},"additionalProperties":{}},"signals":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$","description":"A reverse-domain name, such as dev.ucp.shopping.checkout."},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"attribution":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"payment":{"type":"object","properties":{"instruments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"handler_id":{"type":"string","description":"The `id` of the handler declaration it is paid through."},"type":{"type":"string"},"billing_address":{"type":"object","properties":{"extended_address":{"type":"string"},"street_address":{"type":"string"},"address_locality":{"type":"string"},"address_region":{"type":"string"},"address_country":{"type":"string"},"postal_code":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"phone_number":{"type":"string"}},"additionalProperties":{}},"credential":{"type":"object","properties":{"type":{"type":"string"}},"required":["type"],"additionalProperties":{}},"display":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"selected":{"type":"boolean"}},"required":["id","handler_id","type"],"additionalProperties":{}}},"selected_term_id":{"type":"string"}},"additionalProperties":{}},"discounts":{"type":"object","properties":{"codes":{"type":"array","items":{"type":"string"}}},"additionalProperties":{}},"fulfillment":{"type":"object","properties":{"methods":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"line_item_ids":{"type":"array","items":{"type":"string"}},"destinations":{"type":"array","items":{"type":"object","properties":{"extended_address":{"type":"string"},"street_address":{"type":"string"},"address_locality":{"type":"string"},"address_region":{"type":"string"},"address_country":{"type":"string"},"postal_code":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"phone_number":{"type":"string"},"id":{"type":"string"},"type":{"type":"string","const":"shipping_address"}},"additionalProperties":{}}},"selected_destination_id":{"type":["string","null"]},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"selected_option_id":{"type":["string","null"]}},"required":["id"],"additionalProperties":{}}}},"required":["line_item_ids"],"additionalProperties":{}}}},"additionalProperties":{}},"id":{"not":{}}},"required":["line_items"],"additionalProperties":{}}},"required":["meta","id","checkout"],"additionalProperties":{},"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"complete_checkout","title":"Complete a checkout (UCP)","description":"UCP's Complete Checkout: pays, and places the order. checkout.payment.instruments holds one instrument of type \"x402\" through the handler's declaration (its id in ucp.payment_handlers[\"com.integraledger.lcp.x402\"]), whose credential is {type: \"x402\", x402Version: 2, paymentPayload, paymentRequirements}: the x402 payment signed for the option in the handler's config.accepts, which carries the agreement's hash. Fetch the legal_context link, hash its bytes with SHA-256 and compare before you sign. meta[\"idempotency-key\"] is required: send the same key only to retry the same request. The result is completed, with its order; or complete_in_progress while the payment is not yet confirmed: then ask get_checkout. Paid in test USDC on Base Sepolia (eip155:84532): one cent of the price is one millionth of a USDC. meta[\"ucp-agent\"].profile names the UCP platform's profile, which the business fetches and checks; a request signed as UCP's signatures specification says (RFC 9421, at the HTTP layer, as over REST) is verified against the profile's keys. Its result is UCP's shopping/checkout (https://ucp.dev/2026-08-25/schemas/shopping/checkout.json), or UCP's error response.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"meta":{"type":"object","properties":{"ucp-agent":{"type":"object","properties":{"profile":{"type":"string","format":"uri"}},"required":["profile"],"additionalProperties":{}},"idempotency-key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["ucp-agent","idempotency-key"],"additionalProperties":{}},"id":{"type":"string"},"checkout":{"type":"object","properties":{"payment":{"type":"object","properties":{"instruments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"handler_id":{"type":"string","description":"The `id` of the handler declaration it is paid through."},"type":{"type":"string"},"billing_address":{"type":"object","properties":{"extended_address":{"type":"string"},"street_address":{"type":"string"},"address_locality":{"type":"string"},"address_region":{"type":"string"},"address_country":{"type":"string"},"postal_code":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"phone_number":{"type":"string"}},"additionalProperties":{}},"credential":{"type":"object","properties":{"type":{"type":"string"}},"required":["type"],"additionalProperties":{}},"display":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"selected":{"type":"boolean"}},"required":["id","handler_id","type"],"additionalProperties":{}}}},"additionalProperties":{}},"signals":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$","description":"A reverse-domain name, such as dev.ucp.shopping.checkout."},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"attribution":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"ap2":{"type":"object","properties":{"checkout_mandate":{"type":"string","pattern":"^[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]+~[A-Za-z0-9_.~-]*$"}},"required":["checkout_mandate"],"additionalProperties":{}},"id":{"not":{}}},"required":["payment"],"additionalProperties":{}}},"required":["meta","id","checkout"],"additionalProperties":{},"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"cancel_checkout","title":"Cancel a checkout (UCP)","description":"UCP's Cancel Checkout, for a checkout not yet completed. meta[\"idempotency-key\"] is required. meta[\"ucp-agent\"].profile names the UCP platform's profile, which the business fetches and checks; a request signed as UCP's signatures specification says (RFC 9421, at the HTTP layer, as over REST) is verified against the profile's keys. Its result is UCP's shopping/checkout (https://ucp.dev/2026-08-25/schemas/shopping/checkout.json), or UCP's error response.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"meta":{"type":"object","properties":{"ucp-agent":{"type":"object","properties":{"profile":{"type":"string","format":"uri"}},"required":["profile"],"additionalProperties":{}},"idempotency-key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["ucp-agent","idempotency-key"],"additionalProperties":{}},"id":{"type":"string"}},"required":["meta","id"],"additionalProperties":{}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false}},{"name":"get_order","title":"Get an order (UCP)","description":"UCP's Get Order: the order a completed checkout placed, for the platform that opened the checkout. meta[\"ucp-agent\"].profile names the UCP platform's profile, which the business fetches and checks; a request signed as UCP's signatures specification says (RFC 9421, at the HTTP layer, as over REST) is verified against the profile's keys. Its result is UCP's shopping/order (https://ucp.dev/2026-08-25/schemas/shopping/order.json), or UCP's error response.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"meta":{"type":"object","properties":{"ucp-agent":{"type":"object","properties":{"profile":{"type":"string","format":"uri"}},"required":["profile"],"additionalProperties":{}},"idempotency-key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["ucp-agent"],"additionalProperties":{}},"id":{"type":"string"}},"required":["meta","id"],"additionalProperties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}],"resultType":"complete","ttlMs":0,"cacheScope":"private","_meta":{"io.modelcontextprotocol/serverInfo":{"name":"net.integraledger.demos.integra-lens-merch-live/mcp","title":"Integra Lens Merch Shop","version":"1.0.0","description":"For demonstration only. This transaction runs on a test network with test money, and has no value.","websiteUrl":"https://integra-lens-merch-live.demos.integraledger.net/","icons":[{"src":"https://integra-lens-merch-live.demos.integraledger.net/icon.png","mimeType":"image/png","sizes":["512x512"]}]}}},"jsonrpc":"2.0","id":2}