{"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])?$"},"id":{"type":"string","minLength":1,"maxLength":1000,"pattern":"^[^\\p{C}]+$"},"cart":{"type":"object","required":["line_items"],"properties":{"line_items":{"type":"array","minItems":0,"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","required":["id"],"properties":{"id":{"type":"string","minLength":1,"maxLength":300,"pattern":"^[^\\p{C}]+$"}},"additionalProperties":true},"quantity":{"type":"integer","minimum":1,"maximum":1000000}},"required":["item","quantity"],"additionalProperties":true}}},"additionalProperties":true}},"required":["shop","id","cart"],"additionalProperties":false},"name":"Update your Shop cart","id":"shop.carts.update","example":{"shop":"synthetic.myshopify.com","id":"synthetic-resource","cart":{"line_items":[{"item":{"id":"gid://shopify/ProductVariant/123"},"quantity":1}]}},"maxRequests":2,"summary":false}}