Skip to main content

Approve what an agent asks to do

Some actions need your consent before an agent performs them: running Python or JavaScript in its sandbox, reaching a web address that isn't allowed yet, calling a tool that is set to ask first, or changing an agent's configuration. The agent stops and asks. Nothing runs and nothing is sent until you decide.

Steps​

  1. In the conversation, read the card under the agent's reply: This agent wants to run a command, This agent wants to reach an address or This agent wants to use {server}. The full command, address or call is shown.
  2. For an address, choose how wide the permission is: the address shown, or This whole domain.
  3. Check What you would allow, then click:
    • Allow once: for this reply only. You'll be asked again next time.
    • Always allow: for this agent, in all your conversations, until you take it back.
    • Refuse: the agent continues without it.
  4. The agent resumes on its own. Your decision is listed under the reply in Decisions on this reply.

Allowing a JavaScript command also allows what that script starts, Python included. The card says so before you decide.

Review or take back what you allowed​

  1. Open the agent (Organization side, My Agents) and go to its Tools tab.
  2. Under the tools table, What you have allowed this agent to do lists your permanent approvals. Each row has a kind (Address, Address pattern, Command, MCP tool) and a scope (This agent, for you or Every agent, for you).
  3. Click Take this approval back to remove one, or the pencil to edit it.
  4. To allow something in advance, click Add and choose Address, Address pattern or Command.

In an address pattern, * matches anything up to the next /, and the domain must end with / (for example https://*.example.com/). It is not a regular expression.

Changing this list needs the Update a tool permission.

Result​

A permission you take back stops working from the agent's next answer.

If something goes wrong​

  • The same request keeps coming back: you chose Allow once. Use Always allow to stop being asked.
  • A command is asked again after you allowed it: only that exact command is allowed; any variant is asked again.
  • "The list could not be loaded.": your approvals are still in force; click Try again.
  • The agent says it can't run code on a widget or an avatar: nobody can approve requests there, so these actions simply fail on embedded interfaces.