Approve tool calls before they run
On this page
Mark a tool Require approval and each call an agent makes to it waits until a person reviews it. The reviewer sees the agent, connection, account and exact arguments, then approves that one call or denies it. Use it for tools that send messages, spend money, merge code or change records.
Approvals work the same way on the hosted service and in the open-source edition. The differences are listed at the end of this page.
Mark a tool Require approval
In Access, choose the agent and connection, set Require approval on the tools you want reviewed, and choose Save changes. Toolstile does not guess whether a tool reads or writes from its name or annotations, so choose these tools yourself. Resources and prompts keep their normal allow and block settings.
Rules combine in a fixed order:
- A block always wins.
- Otherwise, Require approval wins over Allow or full access, including a rule that applies to all agents or comes from a reusable policy.
- Otherwise, an allow permits the call.
Saving access settings is separate from approving a call. Permissions covers how grants, policies and blocks combine.
What the agent sees
When an agent calls a tool that requires approval, Toolstile does not forward the call. The agent receives an approval-required tool result containing a request identifier, its expiry and a review link.
Review the call
Open the review link, or Approvals in the dashboard. Each request shows the agent, connection, account, destination and the exact arguments. Choose Approve once or Deny.
Hidden, direction-changing and unusual spacing characters in the arguments are shown as explicit Unicode escapes with a warning, so they cannot silently change how the JSON reads. Agent credentials cannot use the review API: only a person signed in to the dashboard can decide.
After you approve
Approving does not run anything. The agent retries the identical call, and Toolstile forwards it once.
- Each approval covers one call with those exact arguments. Different arguments need a new approval.
- Changing the selected account, its credentials or the access rules cancels an earlier approval.
- With tool review on, accepting a new version of the tool cancels approvals made for the previous one.
- Concurrent retries cannot share one approval.
- If the network fails after the call was sent, the approval counts as used and Toolstile does not retry it automatically. Toolstile cannot guarantee that a remote service applied an effect exactly once.
Approval-gated task calls, and interaction continuations that add new inputs such as elicitation responses, are refused, because they would run with arguments the reviewer never saw.
Expiry and limits
| Item | Limit |
|---|---|
| Pending request | Expires after 15 minutes. |
| Approval | Usable for at most 10 minutes after the decision, and never past the request’s own expiry. |
| Pending requests | At most 20 per requesting user. |
| Arguments | Plain JSON, at most 64 KiB and 32 levels deep. Larger input is refused, not truncated. |
How arguments are stored
Arguments waiting for review are encrypted and cleared when the request is denied, used or cancelled. Calls waiting for approval do not enter debug capture; existing debug capture settings apply to an approved call when it runs.
Hosted and self-hosted
| Hosted service | Open-source edition | |
|---|---|---|
| Who reviews | The connection owner in a personal workspace; owners and admins in a team workspace | The connection owner. Each user’s connections and approvals are private to them |
| Operations | Calls waiting for approval or denied do not count as operations; an approved call counts once when it runs | No operation allowance |
| Encryption key | Held by the hosted service | Your instance’s encryption key. Changing it cancels outstanding approvals |
Set up access rules, or turn on tool review to hold changed tool definitions.