Skip to main content
These operations read and change your automations, so they need 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:
  • mark is done, not_mine, not_ask, or snoozed with an until time.
  • claimed: true takes the ask so teammates see it is handled. Set signal: false to claim it without the reaction.
  • link attaches a Linear issue or a GitHub pull request, so the ask shows as shipped when the issue closes or the pull request merges.
Once an ask ships, Avazal drafts a reply. 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.
When an agent in a run calls 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.list returns your triggers and your workspace’s team triggers. triggers.get reads one by its trg_ id.
  • triggers.describe turns a rule in plain words into a draft to review, or returns a question when the words leave something open. Pass the draft back as current to edit it. Nothing is saved.
  • triggers.create saves a draft. A trigger an agent creates is saved off, and its owner turns it on.
  • triggers.update replaces a trigger’s rule, agent, prompt and routes with draft, and turns it on or off with enabled.
  • triggers.run starts one run now with the routes dropped, so only the owner is told.
  • triggers.delete removes a trigger.
triggers.update, triggers.run and triggers.delete are ask-first.

In MCP

Each operation on this page is an action of one MCP tool. The tool catalogue lists every tool with its fields.