automations:read or automations:write. Some are ask-first: an agent’s call returns ToolNotGranted for a plain key, and inside a run it needs your approval through runs.ask.
Asks
An ask is a chat message, addressed to you or from a customer, that nobody has answered yet.asks.list returns them, most recent first. Set group to yours or customers to see one group.
asks.update changes an ask by its id:
markisdone,not_mine,not_ask, orsnoozedwith anuntiltime.claimed: truetakes the ask so teammates see it is handled. Setsignal: falseto claim it without the reaction.linkattaches a Linear issue or a GitHub pull request, so the ask shows as shipped when the issue closes or the pull request merges.
asks.reply posts it as you in the original thread, with the draft id from the ask, or an edited body instead. It sends once however many times it is called, and it is ask-first.
Runs
runs.create claims an ask and starts a run on it with the agent you pick: avazal, or a connected agent with its connectionId and targetId. That agent becomes your default for the robot reaction.
runs.ask, the person who started the run answers it with runs.answer: decision is approved, dismissed, edited with the new input, or replied with text. Only that person can answer, never an agent, and an expired ask can’t be answered. What an agent does inside a run is in Identities and runs.
Triggers
A trigger starts an agent when something happens, such as a schedule or a message in a channel, and says where the run reports.triggers.listreturns your triggers and your workspace’s team triggers.triggers.getreads one by itstrg_id.triggers.describeturns a rule in plain words into a draft to review, or returns a question when the words leave something open. Pass the draft back ascurrentto edit it. Nothing is saved.triggers.createsaves a draft. A trigger an agent creates is saved off, and its owner turns it on.triggers.updatereplaces a trigger’s rule, agent, prompt and routes withdraft, and turns it on or off withenabled.triggers.runstarts one run now with the routes dropped, so only the owner is told.triggers.deleteremoves a trigger.
triggers.update, triggers.run and triggers.delete are ask-first.