Ask for a decision
Events can carry buttons and fields and wait for an answer from your phone, so agents and automations can keep a human in the loop.
- Buttons and fields on events. Add
actionswith anid(buttons) andfields(a choice, text, a number or yes/no) to an event, and it waits for an answer. The push opens an answer page; the first person to answer decides. Links (actionswith aurl) work on any event. See Ask for a decision. - Read events back.
GET /v1/events/{id}returns an event with its answer, andPOST /v1/events/{id}/cancelstops one from waiting. - Error codes. Every error body now carries a stable
code, such asvalidation_errorornot_found, and validation errors say how to fix each problem. - MCP.
createEventcan ask, and the newgetEventandcancelEventtools read and cancel.