{"command":{"effect":"write","timeoutSeconds":15,"inputSchema":{"type":"object","properties":{"shop":{"type":"string","maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]*[a-z0-9])?$"},"checkout":{"type":"object","properties":{"line_items":{"type":"array","minItems":1,"maxItems":25,"items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":300,"pattern":"^[^\\p{C}]+$"},"parent_id":{"type":"string","minLength":1,"maxLength":300,"pattern":"^[^\\p{C}]+$"},"item":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":300,"pattern":"^[^\\p{C}]+$"},"quantity_unit":{"type":"object","properties":{"unit":{"type":"string","minLength":1,"maxLength":32,"pattern":"^[^\\p{C}]+$"},"display_text":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[^\\p{C}]+$"},"scale":{"type":"integer","minimum":0,"maximum":15},"increment":{"type":"integer","minimum":1}},"required":["unit","display_text"],"additionalProperties":false}},"required":["id"],"additionalProperties":false},"quantity":{"type":"integer","minimum":1,"maximum":1000000}},"required":["item","quantity"],"additionalProperties":false}},"context":{"type":"object","properties":{"address_country":{"type":"string","pattern":"^[A-Z]{2}$"},"address_region":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[^\\p{C}]+$"},"postal_code":{"type":"string","minLength":1,"maxLength":32,"pattern":"^[^\\p{C}]+$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"language":{"type":"string","minLength":1,"maxLength":35,"pattern":"^[^\\p{C}]+$"}},"required":[],"additionalProperties":false},"discounts":{"type":"object","properties":{"codes":{"type":"array","maxItems":10,"items":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[^\\p{C}]+$"}}},"required":["codes"],"additionalProperties":false}},"required":["line_items"],"additionalProperties":false}},"required":["shop","checkout"],"additionalProperties":false},"name":"Prepare a Shop checkout","id":"shop.checkouts.create","example":{"shop":"synthetic.myshopify.com","checkout":{"line_items":[{"item":{"id":"gid://shopify/ProductVariant/123"},"quantity":1}]}},"maxRequests":2,"summary":false}}