{"openapi":"3.1.0","info":{"title":"Tadapass API","version":"1.0.0","description":"Tadapass: badge printing and check-in for events. Every tool is also available over MCP at https://tadapass.com/mcp. Docs: https://tadapass.com/llms.txt"},"servers":[{"url":"https://tadapass.com"}],"components":{"securitySchemes":{"agentKey":{"type":"http","scheme":"bearer","description":"Agent key (bk_…) from the dashboard, or an OAuth access token."},"oauth":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://tadapass.com/oauth/authorize","tokenUrl":"https://tadapass.com/oauth/token","refreshUrl":"https://tadapass.com/oauth/token","scopes":{"read":"Read events and stats","events":"Manage events, guests and badges","checkin":"Check guests in","orders":"Order kits and supplies","billing":"Billing and credits"}}}}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}},"paths":{"/api/v1/tools/recommend_kit":{"post":{"operationId":"recommend_kit","summary":"Recommend a badge kit","description":"Pick the right kit (Starter, Pro or Conference) for a guest count and doors-open window, with the reasoning and the item lines to quote. Kits are hardware and label rolls (Brother QL-820NWB printers, DK-1202 label rolls, a floor stand per kiosk); NFC wristbands (ADDON-WRISTBANDS-100, one per guest, for tap check-in) are an optional add-on; badge cards and lanyards are printed to your design with quote_prints. Free, no account needed.","tags":["read"],"security":[{},{"agentKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"guestCount":{"type":"integer","minimum":1,"maximum":9007199254740991},"doorsWindowMinutes":{"default":30,"type":"integer","minimum":5,"maximum":9007199254740991}},"required":["guestCount"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/quote":{"post":{"operationId":"quote","summary":"Get a firm quote","description":"Firm all-in price with order-by and deliver-by dates. Give guestCount (we pick the kit), kit (\"starter\", \"pro\" or \"conference\", plus optional extra items) or items (SKUs: ADDON-STATION, REFILL-LABELS-300, REFILL-LABELS-RED-150, ADDON-BATTERY, ADDON-KIOSK-STAND, ADDON-WRISTBANDS-100 for 100 NFC wristbands), the event date (neededBy) and the shipping country. Kits are hardware, label rolls and optional NFC wristbands. Quotes stay valid until expiresAt. Also states the per-checked-in-guest software price.","tags":["read"],"security":[{},{"agentKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"guestCount":{"type":"integer","minimum":1,"maximum":9007199254740991},"kit":{"type":"string","enum":["starter","pro","conference"]},"doorsWindowMinutes":{"type":"integer","minimum":5,"maximum":9007199254740991},"items":{"type":"array","items":{"type":"object","properties":{"sku":{"type":"string"},"quantity":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["sku","quantity"]}},"neededBy":{"type":"string","description":"ISO date or date-time, e.g. 2026-11-20"},"country":{"type":"string","minLength":2,"maxLength":2,"description":"2-letter country code; we ship within the US only (US)"},"speed":{"description":"Delivery speed; omit to get the cheapest that arrives in time","type":"string","enum":["standard","two_day","next_day"]}},"required":["neededBy","country"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/create_order":{"post":{"operationId":"create_order","summary":"Order a kit or refill","description":"Order against a quote. Agent orders reserve budget on the agent key and wait for the event pro to approve (unless the org lets agents order without asking up to a per-order cap: see get_agent_policy); then pay by card link, x402 or ACP. Check-in credits never pay for orders. Pass idempotencyKey so retries never double-order. shipTo is optional when the agent key has a fixed address.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"quoteId":{"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)$"},"eventId":{"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)$"},"shipTo":{"type":"object","properties":{"name":{"type":"string","minLength":1},"company":{"type":"string"},"line1":{"type":"string","minLength":1},"line2":{"type":"string"},"city":{"type":"string","minLength":1},"state":{"type":"string"},"postalCode":{"type":"string","pattern":"^\\d{5}(-\\d{4})?$"},"country":{"default":"US","type":"string"},"phone":{"type":"string","minLength":5},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["name","line1","city","state","postalCode","phone"]},"paymentMethod":{"type":"string","enum":["card","acp","x402"]},"idempotencyKey":{"type":"string","minLength":8}},"required":["quoteId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/order_status":{"post":{"operationId":"order_status","summary":"Order status","description":"Status, delivery date and tracking for one order, or recent orders.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"orderId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/pay_order":{"post":{"operationId":"pay_order","summary":"Pay an approved order","description":"Returns a card checkout link for the human to pay an approved order. Orders are paid by card (or an agent wallet via x402 or ACP); check-in credits only pay for check-ins.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"orderId":{"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":["orderId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/cancel_order":{"post":{"operationId":"cancel_order","summary":"Cancel an unpaid order","description":"Cancel an order that is not paid yet. Releases reserved agent budget.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"orderId":{"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":["orderId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/create_event":{"post":{"operationId":"create_event","summary":"Create an event","description":"Create the event badges and check-in are for. Returns the event id and the join code door staff type into the app.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"startsAt":{},"endsAt":{},"doorsOpenAt":{},"doorsWindowMinutes":{"type":"integer","minimum":5,"maximum":1440},"timezone":{"default":"UTC","type":"string"},"venue":{"type":"string","maxLength":300},"expectedGuests":{"type":"integer","minimum":1,"maximum":100000},"branding":{"type":"object","properties":{"logoUrl":{"type":"string","format":"uri"},"primaryColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}}}},"required":["name"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/list_events":{"post":{"operationId":"list_events","summary":"List events","description":"Events this key or account can see.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/get_event":{"post":{"operationId":"get_event","summary":"Get an event","description":"One event with its dates and status; the station join code too when this key may manage events.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/get_event_readiness":{"post":{"operationId":"get_event_readiness","summary":"What an event still needs before it can print","description":"For one event: guest count, the door label, badge card and lanyard designs with their review status (approved, pending, changes requested), and whether printers are covered (a kit order or stations with printers). `missing` lists what is left. Use it first when asked to get an event ready.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/update_event":{"post":{"operationId":"update_event","summary":"Update an event","description":"Change event details (name, dates, doors time, expected guests, branding).","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"startsAt":{},"endsAt":{},"doorsOpenAt":{},"doorsWindowMinutes":{"type":"integer","minimum":5,"maximum":1440},"timezone":{"default":"UTC","type":"string"},"venue":{"type":"string","maxLength":300},"expectedGuests":{"type":"integer","minimum":1,"maximum":100000},"branding":{"type":"object","properties":{"logoUrl":{"type":"string","format":"uri"},"primaryColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}}},"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/connect_source":{"post":{"operationId":"connect_source","summary":"Connect a ticketing platform","description":"Link a Luma, Eventbrite, Tito or Ticket Tailor event (or a HubSpot contact list) by its URL and return a preview of its guests (counts, duplicates, errors, roles). Nothing is imported until commit_import; the source then keeps syncing until doors open. Luma needs a Luma Plus calendar API key; without one, export the CSV and use import_guests. Tito takes the ti.to/account/event link and a secret API token; Ticket Tailor takes the event link or ev_ id and an API key. For a Google Sheet or any public CSV link use import_from_url.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"kind":{"type":"string","enum":["luma","eventbrite","hubspot","tito","ticket_tailor"]},"url":{"type":"string","description":"Event link (or Ticket Tailor ev_ id), or a HubSpot contact list link"},"apiKey":{"type":"string"},"roleMap":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["kind","url"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/import_guests":{"post":{"operationId":"import_guests","summary":"Preview a guest import","description":"Step 1 of 2. Send guests as CSV text, as rows (objects keyed by column name), or a path from create_upload. Columns are detected (name/first+last, email, company, title, ticket type, role, Luma/Eventbrite codes); pass mapping to override, roleMap to map ticket types to roles (e.g. {\"Speaker Pass\":\"speaker\"}). Returns counts, row-level errors (\"row 57: name is empty\") and an importId. Nothing changes until commit_import.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"csv":{"type":"string"},"rows":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"uploadPath":{"type":"string"},"mapping":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"roleMap":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/commit_import":{"post":{"operationId":"commit_import","summary":"Commit a guest import","description":"Step 2 of 2: apply a previewed import. Re-importing updates guests instead of duplicating them. If an agent import would change or cancel existing guests, it waits for the event pro to approve.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"importId":{"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":["importId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/discard_import":{"post":{"operationId":"discard_import","summary":"Discard a guest import","description":"Throw away a previewed import and its uploaded file.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"importId":{"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":["importId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/create_upload":{"post":{"operationId":"create_upload","summary":"Get an upload URL for a large file","description":"For CSV files too large to send inline: returns a signed URL to PUT the file to, and the path to pass to import_guests as uploadPath. The file is deleted after import.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/import_from_url":{"post":{"operationId":"import_from_url","summary":"Import from a link","description":"Preview an import from a CSV link or a Google Sheets link shared as \"anyone with the link\". Same preview as import_guests.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"url":{"type":"string","format":"uri"},"mapping":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"roleMap":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["url"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/design_badge":{"post":{"operationId":"design_badge","summary":"Design the badge","description":"Quick Label (the thermal label printed at the door) from simple options: label size, role colors (e.g. {\"speaker\":\"#DC2626\"} for red speakers), which lines to show, up to 2 extra imported columns. For full control use design with kind \"label\". Brother QL labels print black only; DK-22251 rolls print black and red, so other colors show black in the preview and on paper. Agents: saved as a draft and sent for approval at once; the door keeps printing the approved label until the event pro approves. Follow with get_preview.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"labelId":{"type":"string","enum":["DK-1202","DK-2205","DK-22251","102x76"]},"roleColors":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"showCompany":{"type":"boolean"},"showTitle":{"type":"boolean"},"showEventName":{"type":"boolean"},"extraFields":{"maxItems":2,"type":"array","items":{"type":"string"}},"name":{"type":"string"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/design_print":{"post":{"operationId":"design_print","summary":"Design printed badge cards or lanyards (older shape; prefer design)","description":"Kept for agents built before the design tool; prefer design (kind \"badge_card\" or \"lanyard\"), which also takes elements. Agents' designs are drafts until the event pro approves them (request_design_approval). Start a full-color badge card or lanyard design from a starter in the event's brand color and save it. Nothing is ordered here. A badge card is printed in advance: event art on top, a white label area in the lower half where each guest's name label (printed at check-in on the Label tab) is stuck on, and a role band at the bottom. One card design prints once per role (attendee, speaker, vip, sponsor, staff), each with its role word and color. With options.names \"printed\", each guest's name is printed on their card instead (paper or plastic only). Card options (all optional; defaults: 4x6 paper, front only, double-notch, square, label-area, labelOrientation matching the event's Label design): size 4x6 (101.6 x 152.4 mm), 4x3 (101.6 x 76.2 mm), 3.5x5.5 (88.9 x 139.7 mm), 4.25x6 (108 x 152.4 mm), cr80 (54 x 85.6 mm); stock paper (Paper card (18pt); sizes 4x6, 4x3, 3.5x5.5), plastic (Plastic; sizes 4x6, 4.25x6, cr80), tag16 (Budget card (16pt); sizes 4x6; no printed names), tag24 (Thick budget card (24pt); sizes 4x6; no printed names); sides front|both; punch double-notch|single-notch|hole|none (paper and plastic take notches, budget cards a drilled hole); corners square|rounded (plastic only); names label-area|printed; labelOrientation landscape (100 x 62 mm label)|portrait (62 x 100 mm). Card starters: classic, brand-header, wave, sponsor-strip, pattern, corner-ribbon, stripes, photo-header, minimal, agenda-back, freestyle (front layouts). Back templates: agenda, agenda-only, wifi, qr, brand, image, sponsors, schedule, venue, social, blank, contact. Lanyards: a 36 in strap with 1.5 in crimp zones (no art) at each end; set options in \"lanyard\" (stockId may be the width). We make: full-color 5/8/3/4/1 in, satin/rpet, crimped/sewn, double-bulldog/bulldog/lobster/double-lobster/swivel-j-hook; full-color 1 in, satin, crimped, snap-trigger; imprint 3/4 in, satin, sewn, breakaway. double-bulldog and double-lobster put a clip on each end (pairs with a double-notch badge). Imprint (budget, 1 ink) strapColor: #111111, #1F2A44, #1D4ED8, #C8102E, #1E5631, #5B2C83, #8A8D8F, #FFFFFF; imprintColor e.g. #FFFFFF, #111111, #B08D3C, #FFD100, #C8102E, #1D4ED8, #1F2A44, #00843D. Full-color lanyard templates: repeating-logo, name-date, two-tone, sponsor-alternate, solid-logo, tagline, freestyle. Imprint templates: imprint-name, imprint-logo-name, imprint-name-date, imprint-freestyle. Lanyard results include warnings (issues) and a price for quantity (default: expected guests). Badge results include the price for the expected guest count (×1.30 included; quantities below the minimum are rounded up and the summary says so) and any validation issues. Errors come back with fixable messages. The event pro fine-tunes it on the Badge or Lanyard tab.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"kind":{"type":"string","enum":["badge","lanyard"]},"templateId":{"type":"string"},"name":{"type":"string"},"options":{"type":"object","properties":{"size":{"type":"string","enum":["4x6","4x3","3.5x5.5","4.25x6","cr80"]},"stock":{"type":"string","enum":["paper","plastic","tag16","tag24"]},"sides":{"type":"string","enum":["front","both"]},"punch":{"type":"string","enum":["double-notch","single-notch","none","hole"]},"corners":{"type":"string","enum":["square","rounded"]},"names":{"type":"string","enum":["label-area","printed"]},"labelOrientation":{"type":"string","enum":["landscape","portrait"]}}},"roleColors":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"stockId":{"type":"string"},"lanyard":{"type":"object","properties":{"print":{"type":"string","enum":["full-color","imprint"]},"width":{"type":"string","enum":["1","5/8","3/4"]},"material":{"type":"string","enum":["satin","rpet"]},"assembly":{"type":"string","enum":["crimped","sewn"]},"attachment":{"type":"string","enum":["bulldog","double-bulldog","lobster","double-lobster","breakaway","swivel-j-hook","snap-trigger"]},"strapColor":{"type":"string"},"imprintColor":{"type":"string"}}},"quantity":{"type":"integer","minimum":1,"maximum":5000}},"required":["kind","templateId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/get_design_rules":{"post":{"operationId":"get_design_rules","summary":"Design rules for a Label, Badge card or Lanyard","description":"Call this before designing. Everything needed to design within limits, as data: page sizes and orientations, inks per label roll, bleed, safe area, punch (slot/notch/hole) zones and the label area for badge cards, crimp zones and the imprint area for lanyards, which data each kind can bind (name, role, role_band, qr, logo…), fonts, starters (ids and descriptions), which options exist and fit together, and prices at the event's guest count (×1.30 included; vendors are never named). Pass options to get the geometry for that exact configuration.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["label","badge_card","lanyard"],"description":"label: thermal label printed at the door; badge_card: full-color card printed in advance; lanyard: custom printed strap"},"eventId":{"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)$"},"options":{"description":"Badge card or lanyard options to get exact geometry and prices for","type":"object","properties":{"labelId":{"type":"string","enum":["DK-1202","DK-2205","DK-22251","102x76"],"description":"label: the roll"},"orientation":{"type":"string","enum":["portrait","landscape"],"description":"label: 62 × 100 or 100 × 62 mm"},"size":{"type":"string","enum":["4x6","4x3","3.5x5.5","4.25x6","cr80"],"description":"badge_card"},"stock":{"type":"string","enum":["paper","plastic","tag16","tag24"],"description":"badge_card"},"sides":{"type":"string","enum":["front","both"],"description":"badge_card"},"punch":{"type":"string","enum":["double-notch","single-notch","none","hole"],"description":"badge_card"},"corners":{"type":"string","enum":["square","rounded"],"description":"badge_card"},"names":{"type":"string","enum":["label-area","printed"],"description":"badge_card"},"labelOrientation":{"type":"string","enum":["landscape","portrait"],"description":"badge_card: which label sticks on"},"print":{"type":"string","enum":["full-color","imprint"],"description":"lanyard"},"width":{"type":"string","enum":["1","5/8","3/4"],"description":"lanyard, inches"},"material":{"type":"string","enum":["satin","rpet"],"description":"lanyard"},"assembly":{"type":"string","enum":["crimped","sewn"],"description":"lanyard"},"attachment":{"type":"string","enum":["bulldog","double-bulldog","lobster","double-lobster","breakaway","swivel-j-hook","snap-trigger"],"description":"lanyard"},"strapColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"lanyard, imprint only"},"imprintColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"lanyard, imprint only"}}}},"required":["kind"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/design":{"post":{"operationId":"design","summary":"Create a Label, Badge card or Lanyard design","description":"Creates a draft design. Either start from a starter (starterId from get_design_rules) with options, or build from elements on a blank page, or both (a starter plus extra elements). Elements: [{ type: text|image|rect|qr|line, name?, bind?, text?, x, y, w, h (mm from the top-left, or \"%\" strings of the page), font?, size? (pt), minSize?, weight?, color?, background?, align?, valign?, imageUrl?, side? (badge cards: front|back) }]. bind shows data: label → name, company, title, role, role_band (a rect in the role color), qr, event_name, logo, extra.<column>; badge_card → role, role_band, event_name, date, logo (+ name, company, title, qr with options.names \"printed\"); lanyard → logo, event_name, date (written in as text). Images are fetched once (PNG, JPEG or SVG, public https) and stored in the design. Nothing is saved when there are errors: you get issues with codes (overlaps_slot_zone, under_label_area, in_crimp_zone, text_overflow, outside_safe_area…) and a fix for each; warnings (image_low_res, ink_not_printable) are saved and listed. Agents' designs are drafts: they never print at the door and can't be ordered until the event pro approves them. Next: get_preview, show the human, request_design_approval.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"kind":{"type":"string","enum":["label","badge_card","lanyard"]},"name":{"type":"string","minLength":1,"maxLength":120},"starterId":{"description":"A starter from get_design_rules; omit to start from a blank page and give elements.","type":"string"},"options":{"type":"object","properties":{"labelId":{"type":"string","enum":["DK-1202","DK-2205","DK-22251","102x76"],"description":"label: the roll"},"orientation":{"type":"string","enum":["portrait","landscape"],"description":"label: 62 × 100 or 100 × 62 mm"},"size":{"type":"string","enum":["4x6","4x3","3.5x5.5","4.25x6","cr80"],"description":"badge_card"},"stock":{"type":"string","enum":["paper","plastic","tag16","tag24"],"description":"badge_card"},"sides":{"type":"string","enum":["front","both"],"description":"badge_card"},"punch":{"type":"string","enum":["double-notch","single-notch","none","hole"],"description":"badge_card"},"corners":{"type":"string","enum":["square","rounded"],"description":"badge_card"},"names":{"type":"string","enum":["label-area","printed"],"description":"badge_card"},"labelOrientation":{"type":"string","enum":["landscape","portrait"],"description":"badge_card: which label sticks on"},"print":{"type":"string","enum":["full-color","imprint"],"description":"lanyard"},"width":{"type":"string","enum":["1","5/8","3/4"],"description":"lanyard, inches"},"material":{"type":"string","enum":["satin","rpet"],"description":"lanyard"},"assembly":{"type":"string","enum":["crimped","sewn"],"description":"lanyard"},"attachment":{"type":"string","enum":["bulldog","double-bulldog","lobster","double-lobster","breakaway","swivel-j-hook","snap-trigger"],"description":"lanyard"},"strapColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"lanyard, imprint only"},"imprintColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"lanyard, imprint only"}}},"roleColors":{"type":"object","properties":{"attendee":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"speaker":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"vip":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"sponsor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"staff":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}}},"elements":{"description":"Elements to place (see description)","maxItems":80,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["text","image","rect","qr","line"]},"x":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}],"description":"mm from the left edge, or \"%\" of the page width"},"y":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}],"description":"mm from the top edge, or \"%\" of the page height"},"w":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}],"description":"width, mm or \"%\""},"h":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}],"description":"height, mm or \"%\""},"name":{"description":"Unique name, used by update_design. Defaults to the binding, else <type>_<n>.","type":"string","minLength":1,"maxLength":60},"bind":{"description":"Data to show: see get_design_rules bindings (e.g. name, role, role_band, qr, logo, event_name).","type":"string"},"text":{"description":"Static text, or the sample for a bound text.","type":"string","maxLength":500},"side":{"description":"Badge cards only; default front.","type":"string","enum":["front","back"]},"font":{"description":"A bundled family: \"Noto Sans HK\" (default; Latin + CJK) or a display face for headings: \"Bebas Neue\", \"Playfair Display\", \"Montserrat\" (Latin only; CJK falls back).","type":"string"},"size":{"description":"Font size, pt.","type":"number"},"minSize":{"description":"Shrink long text down to this size (pt). Set it on bound names.","type":"number"},"weight":{"type":"string","enum":["regular","bold"]},"color":{"description":"Text color, shape fill, line or QR color.","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"background":{"description":"Text box fill.","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"align":{"type":"string","enum":["left","center","right"]},"valign":{"type":"string","enum":["top","middle","bottom"]},"imageUrl":{"description":"https link (or data URL) to a PNG, JPEG, WebP or SVG; fetched once and stored in the design. Prefer assetId for logos and photos.","type":"string","maxLength":7000000},"assetId":{"description":"A Brand kit image (list_brand_kit / upload_asset); drawn from the kit at render time.","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)$"},"radius":{"type":"number","minimum":0},"borderColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"borderWidth":{"type":"number","minimum":0},"letterSpacing":{"type":"number"},"lineHeight":{"type":"number","minimum":0.5,"maximum":3},"rotate":{"type":"number"},"opacity":{"type":"number","minimum":0,"maximum":1}},"required":["type","x","y","w","h"]}}},"required":["kind"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/update_design":{"post":{"operationId":"update_design","summary":"Edit a design","description":"Changes a design by element name (names are in get_design and design results): add new elements, update existing ones (move with x/y, resize with w/h, recolor with color/background, change text, size, weight, imageUrl; rename with newName; restack with below), remove elements, change options (e.g. sides \"both\", width \"3/4\") or roleColors. Nothing moves or disappears on its own: changes that would lose content are refused with what to do; after a size change elements keep their positions and issues say what to fix. All changes apply together or not at all (errors → nothing saved). An agent's edit makes the design a draft again and withdraws a pending approval request: preview and call request_design_approval again. Use this to act on the event pro's feedback.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"designId":{"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)$"},"name":{"description":"Rename the design","type":"string"},"options":{"type":"object","properties":{"labelId":{"type":"string","enum":["DK-1202","DK-2205","DK-22251","102x76"],"description":"label: the roll"},"orientation":{"type":"string","enum":["portrait","landscape"],"description":"label: 62 × 100 or 100 × 62 mm"},"size":{"type":"string","enum":["4x6","4x3","3.5x5.5","4.25x6","cr80"],"description":"badge_card"},"stock":{"type":"string","enum":["paper","plastic","tag16","tag24"],"description":"badge_card"},"sides":{"type":"string","enum":["front","both"],"description":"badge_card"},"punch":{"type":"string","enum":["double-notch","single-notch","none","hole"],"description":"badge_card"},"corners":{"type":"string","enum":["square","rounded"],"description":"badge_card"},"names":{"type":"string","enum":["label-area","printed"],"description":"badge_card"},"labelOrientation":{"type":"string","enum":["landscape","portrait"],"description":"badge_card: which label sticks on"},"print":{"type":"string","enum":["full-color","imprint"],"description":"lanyard"},"width":{"type":"string","enum":["1","5/8","3/4"],"description":"lanyard, inches"},"material":{"type":"string","enum":["satin","rpet"],"description":"lanyard"},"assembly":{"type":"string","enum":["crimped","sewn"],"description":"lanyard"},"attachment":{"type":"string","enum":["bulldog","double-bulldog","lobster","double-lobster","breakaway","swivel-j-hook","snap-trigger"],"description":"lanyard"},"strapColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"lanyard, imprint only"},"imprintColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"lanyard, imprint only"}}},"roleColors":{"description":"{ \"speaker\": \"#DC2626\" }","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"add":{"description":"New elements; they draw on top unless you set below: \"<element name>\"","maxItems":80,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["text","image","rect","qr","line"]},"x":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}],"description":"mm from the left edge, or \"%\" of the page width"},"y":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}],"description":"mm from the top edge, or \"%\" of the page height"},"w":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}],"description":"width, mm or \"%\""},"h":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}],"description":"height, mm or \"%\""},"name":{"description":"Unique name, used by update_design. Defaults to the binding, else <type>_<n>.","type":"string","minLength":1,"maxLength":60},"bind":{"description":"Data to show: see get_design_rules bindings (e.g. name, role, role_band, qr, logo, event_name).","type":"string"},"text":{"description":"Static text, or the sample for a bound text.","type":"string","maxLength":500},"side":{"description":"Badge cards only; default front.","type":"string","enum":["front","back"]},"font":{"description":"A bundled family: \"Noto Sans HK\" (default; Latin + CJK) or a display face for headings: \"Bebas Neue\", \"Playfair Display\", \"Montserrat\" (Latin only; CJK falls back).","type":"string"},"size":{"description":"Font size, pt.","type":"number"},"minSize":{"description":"Shrink long text down to this size (pt). Set it on bound names.","type":"number"},"weight":{"type":"string","enum":["regular","bold"]},"color":{"description":"Text color, shape fill, line or QR color.","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"background":{"description":"Text box fill.","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"align":{"type":"string","enum":["left","center","right"]},"valign":{"type":"string","enum":["top","middle","bottom"]},"imageUrl":{"description":"https link (or data URL) to a PNG, JPEG, WebP or SVG; fetched once and stored in the design. Prefer assetId for logos and photos.","type":"string","maxLength":7000000},"assetId":{"description":"A Brand kit image (list_brand_kit / upload_asset); drawn from the kit at render time.","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)$"},"radius":{"type":"number","minimum":0},"borderColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"borderWidth":{"type":"number","minimum":0},"letterSpacing":{"type":"number"},"lineHeight":{"type":"number","minimum":0.5,"maximum":3},"rotate":{"type":"number"},"opacity":{"type":"number","minimum":0,"maximum":1},"below":{"description":"Layering: draw this element just under the named element on the same side (e.g. a white circle below the logo). Without it, added elements draw on top.","type":"string"}},"required":["type","x","y","w","h"]}},"update":{"description":"[{ name: \"tagline\", y: 40, color: \"#0F766E\" }, { name: \"badge_bg\", below: \"logo\" }]","maxItems":80,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The element to change"},"bind":{"description":"Data to show: see get_design_rules bindings (e.g. name, role, role_band, qr, logo, event_name).","type":"string"},"text":{"description":"Static text, or the sample for a bound text.","type":"string","maxLength":500},"side":{"description":"Badge cards only; default front.","type":"string","enum":["front","back"]},"font":{"description":"A bundled family: \"Noto Sans HK\" (default; Latin + CJK) or a display face for headings: \"Bebas Neue\", \"Playfair Display\", \"Montserrat\" (Latin only; CJK falls back).","type":"string"},"size":{"description":"Font size, pt.","type":"number"},"minSize":{"description":"Shrink long text down to this size (pt). Set it on bound names.","type":"number"},"weight":{"type":"string","enum":["regular","bold"]},"color":{"description":"Text color, shape fill, line or QR color.","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"background":{"description":"Text box fill.","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"align":{"type":"string","enum":["left","center","right"]},"valign":{"type":"string","enum":["top","middle","bottom"]},"imageUrl":{"description":"https link (or data URL) to a PNG, JPEG, WebP or SVG; fetched once and stored in the design. Prefer assetId for logos and photos.","type":"string","maxLength":7000000},"assetId":{"description":"A Brand kit image (list_brand_kit / upload_asset); drawn from the kit at render time.","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)$"},"radius":{"type":"number","minimum":0},"borderColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"borderWidth":{"type":"number","minimum":0},"letterSpacing":{"type":"number"},"lineHeight":{"type":"number","minimum":0.5,"maximum":3},"rotate":{"type":"number"},"opacity":{"type":"number","minimum":0,"maximum":1},"newName":{"description":"Rename it","type":"string"},"type":{"type":"string","enum":["text","image","rect","qr","line"]},"x":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}]},"y":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}]},"w":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}]},"h":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^\\s*-?\\d+(\\.\\d+)?\\s*(%|mm)?\\s*$"}]},"below":{"description":"Layering: draw this element just under the named element on the same side (e.g. a white circle below the logo). Without it, added elements draw on top.","type":"string"}},"required":["name"]}},"remove":{"description":"Element names to remove","maxItems":80,"type":"array","items":{"type":"string"}}},"required":["designId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/get_design":{"post":{"operationId":"get_design","summary":"Get a design, its status and feedback","description":"One design: status (draft, pending, approved, changes_requested), the event pro's feedback when they asked for changes, validation issues with fixes, options, saved badge role runs, every element with its name and position, the latest approval request, and the next step. Check it after request_design_approval.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"designId":{"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":["designId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/get_preview":{"post":{"operationId":"get_preview","summary":"Preview a design","description":"With designId: PNG previews from the same renderer as print, as signed links (valid 1 hour) and small inline images. Label: sample guests (one per role, the longest name, a CJK name) in the inks the roll prints. Badge card: one card per role, front and back, with the event's door Label stuck on and the slots cut out. Lanyard: the whole strap and each end with its hardware. Show these to the event pro before requesting approval. Without designId: the event's current door Label for up to 3 real guests (one per role plus the longest name), or sample guests before import.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"designId":{"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)$"},"view":{"description":"Badge cards and lanyards: realistic (default: as worn, on the lanyard), set (the card on its lanyard, one image), or flat (print view with the label stuck on). Links for every view come back either way.","type":"string","enum":["realistic","flat","set"]},"eventId":{"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)$"},"templateId":{"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)$"},"guestIds":{"maxItems":10,"type":"array","items":{"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)$"}},"count":{"type":"integer","minimum":1,"maximum":10}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/upload_asset":{"post":{"operationId":"upload_asset","summary":"Add an image to the Brand kit","description":"Adds an image to the event's Brand kit: the event logo, a sponsor logo, a photo, a pattern, anything. Give url (public https; fetched once by the server, SSRF-safe, up to 10 MB) or base64. PNG, JPEG, WebP (stored as PNG) or SVG (sanitized: scripts, handlers and external references removed). role: event-logo (one primary; starters bind it as logo), sponsor (starters bind sponsor_1, sponsor_2… in order), photo, pattern, other. darkVariantOf marks this as the dark-background version of another asset. Returns the asset id, pixel size and the largest size it prints sharp at 300 dpi. Use the id as assetId in design/update_design, in set_artwork, or as asset:<id> / kit:logo in HTML artwork.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"url":{"description":"Public https link (fetched once by the server) or a data URL","type":"string","maxLength":14000000},"base64":{"description":"The file, base64-encoded","type":"string","maxLength":14000000},"name":{"type":"string","minLength":1,"maxLength":120},"role":{"default":"other","type":"string","enum":["event-logo","sponsor","photo","pattern","other","artwork"]},"sponsorTier":{"type":"string","maxLength":40},"order":{"type":"integer","minimum":0,"maximum":1000},"link":{"type":"string","maxLength":500,"format":"uri"},"darkVariantOf":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/list_brand_kit":{"post":{"operationId":"list_brand_kit","summary":"Read the Brand kit","description":"The event's Brand kit: every image (id, name, role, sponsor order, pixel size, sharp print size, a signed link to view it), which image each binding uses (logo, logo_dark, sponsor_<n>, photo, pattern), colors, the heading font, printed copy (event name, tagline, date line, Wi-Fi, agenda, hashtag) and limits.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/update_brand_kit":{"post":{"operationId":"update_brand_kit","summary":"Change the Brand kit","description":"Sets colors (primary, accent, background, up to 6 swatches), the heading font, printed copy, and per-image details: name, role, sponsorTier, order (sponsor_1 is the lowest order), link, darkVariantOf, or delete (designs and orders that use an image keep it). Only what you send changes.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"colors":{"type":"object","properties":{"primary":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"accent":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"background":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"swatches":{"maxItems":6,"type":"array","items":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}}}},"font":{"description":"Display face for headings: Bebas Neue, Playfair Display, Montserrat; null for Noto Sans HK only","anyOf":[{"type":"string","enum":["Bebas Neue","Playfair Display","Montserrat"]},{"type":"null"}]},"copy":{"type":"object","properties":{"eventName":{"type":"string","maxLength":120},"tagline":{"type":"string","maxLength":160},"dateLine":{"type":"string","maxLength":80},"wifiNetwork":{"type":"string","maxLength":64},"wifiPassword":{"type":"string","maxLength":64},"agenda":{"type":"string","maxLength":1200},"hashtag":{"type":"string","maxLength":60}}},"assets":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"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)$"},"name":{"type":"string","minLength":1,"maxLength":120},"role":{"type":"string","enum":["event-logo","sponsor","photo","pattern","other"]},"sponsorTier":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"order":{"type":"integer","minimum":0,"maximum":1000},"link":{"anyOf":[{"type":"string","maxLength":500,"format":"uri"},{"type":"null"}]},"darkVariantOf":{"description":"Mark this asset as the dark-background version of another","anyOf":[{"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)$"},{"type":"null"}]},"delete":{"type":"boolean"}},"required":["id"]}}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/get_artwork_template":{"post":{"operationId":"get_artwork_template","summary":"Get a blank artwork template","description":"A blank template for a badge card side or the lanyard strap with every zone marked: bleed, trim, safe area, the label area (stays white), the slots (punched) or the crimp ends. format svg or html come back as text; pdf as base64; png as an image. The HTML starter is the exact page size with the kit colors as CSS variables (--kit-primary…) and the zones as data-guide elements the renderer drops. Design in any tool (Figma, Canva, Illustrator, code), then set_artwork. Pass designId to use that design's options.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"kind":{"type":"string","enum":["badge_card","lanyard"]},"options":{"description":"Card or lanyard options (as in design); defaults to the 4 × 6 in card or the 5/8 in strap","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"designId":{"description":"Use this design's options instead","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)$"},"side":{"default":"front","type":"string","enum":["front","back"]},"format":{"default":"svg","type":"string","enum":["svg","pdf","png","html"]}},"required":["kind"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/set_artwork":{"post":{"operationId":"set_artwork","summary":"Set a design's artwork layer","description":"Bring your own artwork: sets the full-bleed artwork layer of a badge card side (front/back) or the lanyard strap, under our elements (role band, role word, label area). Give exactly one of assetId (a kit image), svg, html (HTML/CSS rendered to vector SVG with no browser: flexbox and absolute positioning, gradients, borders, text; kit images as <img src=\"kit:logo\">, \"kit:sponsor-1\", \"asset:<id>\"; no scripts, no network), url, or remove. We paint the label area white and punch the slots over your art, so the badge always works. Returns findings from the pixels (art_under_label_area, art_in_slot_zone, art_in_crimp_zone, low_resolution, text_near_trim, colors_out_of_gamut), the renderer's warnings for HTML (unsupported CSS), and a realistic preview. Saved as a draft. Get the page size from get_artwork_template.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"designId":{"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)$"},"side":{"default":"front","description":"Badge cards: front or back. Lanyards: the strap (leave front).","type":"string","enum":["front","back"]},"assetId":{"description":"A Brand kit asset (upload_asset first)","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)$"},"svg":{"description":"SVG markup at the art page size (get_artwork_template)","type":"string","maxLength":5000000},"html":{"description":"HTML/CSS (see the HTML starter from get_artwork_template)","type":"string","maxLength":400000},"url":{"description":"Public https link to a PNG, JPEG, WebP or SVG (or a data URL)","type":"string","maxLength":14000000},"remove":{"description":"Remove the artwork layer","type":"boolean"},"name":{"type":"string","maxLength":120}},"required":["designId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/create_handoff_link":{"post":{"operationId":"create_handoff_link","summary":"Get a link for your browser","description":"For agents that can drive a browser (computer use): a short-lived URL to this design's studio and the event's Brand kit, no account needed. Every control has a label, every canvas edit has a form, uploads use a standard file input. What you save there is a draft; ask for approval from the page or with request_design_approval. Expires in 24 hours; the event pro can revoke it.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"designId":{"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":["designId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/request_design_approval":{"post":{"operationId":"request_design_approval","summary":"Ask the event pro to approve a design","description":"Sends a draft design to the event pro, with your note (what you made and why, what to look at). They see previews next to the current approved design and the price, then approve, request changes (with feedback) or edit it themselves. Approving a Label makes it the door label; approving a badge card or lanyard makes it orderable. Fix errors first. Then poll get_design or list_approvals.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"designId":{"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)$"},"note":{"type":"string","maxLength":2000,"description":"What you designed and what the event pro should check"}},"required":["designId","note"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/quote_prints":{"post":{"operationId":"quote_prints","summary":"Quote printed badge cards and lanyards","description":"Firm price to print badge cards and lanyards: items [{ designId, quantity }] or [{ designId, byRole: { attendee: 360, speaker: 20, vip: 10, sponsor: 5, staff: 5 } }] (badge cards use the saved shared/own role runs, with 10% spares and at least 100 cards per run; with only quantity we split it like the guest list). Returns the price per item and in total (shipping by ground in the US included), quantities rounded up to the minimum or next batch (said out loud), production days, ship and delivery dates, whether it arrives 2 days before the event, and which designs still need the event pro's approval. Labels print at the door and are not quoted. Order with order_prints.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"items":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"designId":{"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)$"},"quantity":{"description":"How many in total","type":"integer","minimum":1,"maximum":10000},"byRole":{"description":"Badge cards: how many of each role, e.g. {\"attendee\": 360, \"speaker\": 20}","type":"object","propertyNames":{"type":"string","enum":["attendee","speaker","vip","sponsor","staff"]},"additionalProperties":{"type":"integer","minimum":0,"maximum":10000}}},"required":["designId"]}}},"required":["items"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/order_prints":{"post":{"operationId":"order_prints","summary":"Order printed badge cards and lanyards","description":"Orders a quote_prints quote. Only approved designs (at the version quoted) are accepted. The order always waits for the event pro to approve it on the Approvals page, then for payment by card link; agent budget is reserved now. shipTo is optional when the agent key has a fixed address (US only). Pass idempotencyKey so retries never double-order. Check order_status.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"quoteId":{"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)$"},"shipTo":{"type":"object","properties":{"name":{"type":"string","minLength":1},"company":{"type":"string"},"line1":{"type":"string","minLength":1},"line2":{"type":"string"},"city":{"type":"string","minLength":1},"state":{"type":"string"},"postalCode":{"type":"string","pattern":"^\\d{5}(-\\d{4})?$"},"country":{"default":"US","type":"string"},"phone":{"type":"string","minLength":5},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["name","line1","city","state","postalCode","phone"]},"idempotencyKey":{"type":"string","minLength":8}},"required":["quoteId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/list_sessions":{"post":{"operationId":"list_sessions","summary":"List sessions and areas","description":"Sessions and areas with their own door check-in (VIP lounge, paid workshop): who may enter, capacity, which stations guard each door, and live numbers (inside now, entered, turned away, let in anyway).","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/create_session":{"post":{"operationId":"create_session","summary":"Create a session or area","description":"Add a session (a talk or paid workshop, with times) or an area (VIP lounge, backstage) that stations can guard. access.everyone lets all registered guests in; otherwise list roles (vip, speaker, sponsor, staff, attendee) and/or ticket types (as in the guest list, any case), and add named guests with set_session_guests. Then assign_station_door so a station checks people in and out of it.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"name":{"type":"string","minLength":1,"maxLength":80},"kind":{"default":"area","type":"string","enum":["area","session"]},"startsAt":{"type":"string","description":"ISO date or date-time, e.g. 2026-11-20"},"endsAt":{"type":"string","description":"ISO date or date-time, e.g. 2026-11-20"},"capacity":{"type":"integer","minimum":1,"maximum":9007199254740991},"access":{"default":{"everyone":true,"roles":[],"ticketTypes":[]},"type":"object","properties":{"everyone":{"type":"boolean"},"roles":{"default":[],"type":"array","items":{"type":"string","enum":["attendee","speaker","vip","sponsor","staff"]}},"ticketTypes":{"default":[],"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["everyone"]}},"required":["name"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/update_session":{"post":{"operationId":"update_session","summary":"Change a session or area","description":"Rename, retime, change capacity or who may enter. Pass only what changes. Stations pick it up on their next sync, offline ones when they reconnect.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"sessionId":{"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)$"},"name":{"type":"string","minLength":1,"maxLength":80},"kind":{"type":"string","enum":["area","session"]},"startsAt":{"anyOf":[{"type":"string","description":"ISO date or date-time, e.g. 2026-11-20"},{"type":"null"}]},"endsAt":{"anyOf":[{"type":"string","description":"ISO date or date-time, e.g. 2026-11-20"},{"type":"null"}]},"capacity":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"access":{"type":"object","properties":{"everyone":{"type":"boolean"},"roles":{"default":[],"type":"array","items":{"type":"string","enum":["attendee","speaker","vip","sponsor","staff"]}},"ticketTypes":{"default":[],"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["everyone"]}},"required":["sessionId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/delete_session":{"post":{"operationId":"delete_session","summary":"Delete a session or area","description":"Removes it with its guest list and door history. Its stations go back to the main check-in. Confirm with the event pro first.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"sessionId":{"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":["sessionId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/find_guests":{"post":{"operationId":"find_guests","summary":"Find guests by name","description":"Guests whose name, email or company contains the query, with their ids, for set_session_guests. Registered guests only, sorted by name, at most `limit` (default 20).","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"query":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["query"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/set_session_guests":{"post":{"operationId":"set_session_guests","summary":"Add or remove named guests","description":"Let specific guests into a session or area on top of its role and ticket rules (e.g. the buyers of a paid workshop), by guest id or email; or remove them. Returns emails that matched no guest.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"sessionId":{"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)$"},"addGuestIds":{"maxItems":5000,"type":"array","items":{"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)$"}},"addEmails":{"maxItems":5000,"type":"array","items":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"removeGuestIds":{"maxItems":5000,"type":"array","items":{"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":["sessionId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/assign_station_door":{"post":{"operationId":"assign_station_door","summary":"Point a station at a session door","description":"Make a signed-in station guard a session or area door (mode \"in\" for an entrance, \"out\" for an exit, \"toggle\" for one door used both ways), or send it back to the main check-in with sessionId null. Station ids come from live_stats.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"stationId":{"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)$"},"sessionId":{"anyOf":[{"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)$"},{"type":"null"}]},"mode":{"default":"in","type":"string","enum":["in","out","toggle"]}},"required":["stationId","sessionId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/session_attendance":{"post":{"operationId":"session_attendance","summary":"Who came to a session","description":"Per guest: first entry, last exit, minutes inside and whether they are inside now; plus how many were turned away or let in anyway. Use for sponsor reports and CE/CPD credits.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"sessionId":{"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":["sessionId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/can_enter_session":{"post":{"operationId":"can_enter_session","summary":"Can this guest enter?","description":"Whether a guest is on a session or area list, and why (role, ticket type, named, or not on the list). Same rules the door uses.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"sessionId":{"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)$"},"guestId":{"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":["sessionId","guestId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/live_stats":{"post":{"operationId":"live_stats","summary":"Live check-in stats","description":"Checked in vs expected, by role, arrivals in the last 5/15 minutes, queue estimate, print speed and each station's printer status.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/checkin_status":{"post":{"operationId":"checkin_status","summary":"Is this guest checked in?","description":"Look up a guest by email, name, scanned code or id and see whether and when they checked in.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"guestId":{"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)$"},"email":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/add_walkin":{"post":{"operationId":"add_walkin","summary":"Add a walk-in","description":"Add a guest who is not on the list (e.g. a late VIP). Generate the id (UUID) yourself so retries are safe. The station prints the badge when they arrive.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"id":{"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)$"},"name":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"},"title":{"type":"string"},"role":{"type":"string","enum":["attendee","speaker","vip","sponsor","staff"]}},"required":["id","name"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/attendance_report":{"post":{"operationId":"attendance_report","summary":"Attendance report","description":"After the event: attendance, no-shows, walk-ins, arrival curve, per-role counts, labels used and reprints.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/reorder_supplies":{"post":{"operationId":"reorder_supplies","summary":"Quote a refill","description":"Suggest and quote a refill of label rolls based on what an event used. Order it with create_order. Lanyards and badge cards are printed to your design: use quote_prints.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"nextEventGuests":{"type":"integer","minimum":1,"maximum":9007199254740991},"neededBy":{"type":"string","description":"ISO date or date-time, e.g. 2026-11-20"},"country":{"type":"string","minLength":2,"maxLength":2}},"required":["neededBy"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/export_badge_links":{"post":{"operationId":"export_badge_links","summary":"Export badge-ready links","description":"CSV of name, email, badge link and QR image link per guest, plus an email subject and body, for mail merge from any email tool. For guests without a Luma/Eventbrite QR.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/push_to_hubspot":{"post":{"operationId":"push_to_hubspot","summary":"Write badge links and attendance to HubSpot","description":"Upserts each guest's badge link and attendance (registered, checked_in, no_show, cancelled) onto their HubSpot contact by email, so the organizer can send the badge-ready email and track attendance in HubSpot. Needs a HubSpot source on the event.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}}},"/api/v1/tools/get_balance":{"post":{"operationId":"get_balance","summary":"Check-in credit balance","description":"Check-in credits left (checkinsLeft) and recent ledger entries. Credits pay for check-ins only, never for orders.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/top_up_credits":{"post":{"operationId":"top_up_credits","summary":"Buy a check-in pack","description":"Buy check-in credits as a pack: checkins-1000 ($100), checkins-5000 ($425, 15% off) or checkins-20000 ($1,600, 20% off). Credits pay for check-ins only (the event minimum, and the monthly check-in bill before the card), never for kits, supplies or prints. Returns a card checkout link for the human, or the x402 endpoint for paying in USDC.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pack":{"type":"string","enum":["checkins-1000","checkins-5000","checkins-20000"]},"method":{"default":"card","type":"string","enum":["card","x402"]}},"required":["pack"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/enable_checkin":{"post":{"operationId":"enable_checkin","summary":"Turn on check-in","description":"Turns on check-in for an event by paying the $19 event minimum, which covers the first 190 check-ins; each check-in after that adds $0.10 to the organization's balance, billed monthly to the organization's card (credits first), and the minimum is refunded if nobody checks in. Until it is on, guests cannot be sent their QR codes or badge links, stations cannot join, and nobody can be checked in. method \"card\" returns a checkout link for the event pro; \"credits\" uses 190 check-in credits, at once within the organization's agent spending cap, otherwise it waits in Approvals. Calling it again never charges twice.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"method":{"default":"card","type":"string","enum":["card","credits"]}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/buy_lead_seats":{"post":{"operationId":"buy_lead_seats","summary":"Buy sponsor lead scanning seats","description":"Starts a card checkout for sponsor lead scanning seats: $49 per seat (one phone at one booth) for this event, up to 20 at a time. Paid by card only; check-in credits do not cover add-ons. Returns a checkout link for the event pro. Once paid, list_lead_seats returns each seat's scanner link to send to the sponsor.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"sponsor":{"type":"string","minLength":1,"maxLength":120},"seats":{"type":"integer","minimum":1,"maximum":20}},"required":["sponsor","seats"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}},"/api/v1/tools/list_lead_seats":{"post":{"operationId":"list_lead_seats","summary":"List sponsor lead scanning seats","description":"Sponsor lead scanning seats for an event: sponsor, status (unpaid, active, revoked), the scanner link to send the sponsor (active seats only) and how many leads each has scanned.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/revoke_lead_seat":{"post":{"operationId":"revoke_lead_seat","summary":"Turn off a lead scanning seat","description":"Turns off a seat's scanner link (a lost phone, a rep who left). The leads it scanned are kept, and manage_lead_seat can turn it back on. Not refunded.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seatId":{"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":["seatId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/manage_lead_seat":{"post":{"operationId":"manage_lead_seat","summary":"Change a lead scanning seat","description":"Changes one sponsor lead scanning seat. \"turn_on\" turns an organizer-revoked seat back on with the same link (a refunded or disputed seat stays off). \"reissue_link\" returns a new scanner link and kills the old one; the seat then waits for a phone again. \"reset_device\" frees the seat from the phone that holds it (a new phone, cleared browser data). \"allow_typed_ticket_codes\" / \"badge_codes_only\" choose whether the sponsor may type imported ticket codes or only badge codes (BK-…); camera scans read any badge QR.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seatId":{"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)$"},"action":{"type":"string","enum":["turn_on","reissue_link","reset_device","allow_typed_ticket_codes","badge_codes_only"]}},"required":["seatId","action"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/setup_billing":{"post":{"operationId":"setup_billing","summary":"Save the organization's card","description":"Returns a link where the event pro saves (or replaces) the organization's card. One card pays for every event: check-ins past each event's minimum add to a running balance, charged on the 1st of each month (UTC), or at once if it reaches $200. Check-in credits are used first. Nothing is charged when the card is saved.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/billing_status":{"post":{"operationId":"billing_status","summary":"Check-in billing status","description":"organization: whether the organization's card is saved, the running check-in balance by event, the next monthly bill date, the early-charge limit ($200), an unpaid bill with its reason, and recent receipts. event (with eventId, or the key's event): whether check-in is on and how the minimum was prepaid, check-ins so far, check-ins past the minimum, and what the event added to the balance and how much of it is paid.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/list_approvals":{"post":{"operationId":"list_approvals","summary":"Approvals and the event pro's feedback","description":"Requests to the event pro and their decisions: orders, overwriting imports, and designs (Label, Badge card, Lanyard). Design approvals include your note, the design (id, kind, name) and, when the status is changes_requested, the feedback to act on with update_design. Filter by status (pending, approved, changes_requested, rejected, expired).","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["pending","approved","rejected","expired","changes_requested"]},"eventId":{"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)$"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/get_agent_policy":{"post":{"operationId":"get_agent_policy","summary":"What AI agents may do without asking","description":"The organization's rules for agents, set by an owner: whether agents may create and set up events, import and sync guests, design labels, badge cards and lanyards, set the door label, and place orders without asking, and the per-order spend cap. Read it before acting; anything not allowed must be asked of the event pro (or waits in Approvals).","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}},"/api/v1/tools/set_door_label":{"post":{"operationId":"set_door_label","summary":"Choose the label that prints at the door","description":"Makes an approved Label the event's door label (what prints at check-in). If the organization lets agents set the door label, it switches at once; otherwise it asks the event pro in Approvals and the door keeps printing the current label until they approve.","tags":["write"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"designId":{"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)$","description":"An approved label (design kind \"label\")"}},"required":["designId"]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}}},"/api/v1/tools/activity_log":{"post":{"operationId":"activity_log","summary":"Activity log","description":"Who did what, including every agent action, newest first.","tags":["read"],"security":[{"agentKey":[]},{"oauth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Same key, same response. Use on every retry."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"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)$"},"limit":{"type":"integer","minimum":1,"maximum":500}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"data":{},"images":{"type":"array","items":{"type":"object","properties":{"mimeType":{"type":"string"},"base64":{"type":"string"},"alt":{"type":"string"}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string","description":"What to fix, in words an agent can act on."},"details":{"type":"object"}},"required":["code","message"]}}}}}}},"x-annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}}}}