Skip to content

Approvals

A write tool creates, sends, changes or deletes data. When an AI client calls a write tool, the call waits. You see the call with its values in the console, and you approve or deny it.

A call that waits for approval

How it works

sequenceDiagram
    participant C as AI client
    participant Y as Cyproxy
    actor P as You
    participant T as Tool server
    C->>Y: run_write_tool (tool, arguments)
    Y->>Y: Checks: access token, pause, data protection, tool review
    Y->>P: The call appears in Governance, Approvals
    Note over C,Y: The call waits for up to 40 seconds
    P->>Y: Approve once
    Y->>Y: Does all checks again. Writes the audit log.
    Y->>T: Calls the tool
    T-->>Y: Answer
    Y-->>C: Answer
  1. The AI client calls a write tool.
  2. The call appears in Governance → Approvals, with the tool, the values and the AI client.
  3. The call waits for up to 40 seconds. If there is no decision, Cyproxy tells the AI client to try again after the approval.
  4. You select Approve once or Deny.
  5. The AI client makes the same call again (or the waiting call continues). Cyproxy runs it.

What an approval is for

An approval is for:

  • these arguments, with no change
  • this AI client (this access token or connected app)
  • this tool definition

You can use an approval one time, in the 15 minutes after the decision. If any of these items changes, the call needs a new approval.

Cyproxy shows the values as the exact text that it sends. Hidden characters are shown as codes.

Who can approve

Only you, the owner, can approve a call. You approve it in the console, after you sign in. An AI client cannot approve a call.

When you run a tool by hand in the console, that is the approval.

If a call is denied

Cyproxy tells the AI client that you said no. The same call is refused for the next 15 minutes.

Limits

  • Arguments larger than 32,000 characters are refused. You cannot review them.
  • 20 calls can wait at the same time.
  • A request that has no decision expires after 15 minutes.

Turn approval off

Require approval for write tools is on after installation. You can turn it off in Governance → Approvals. Then write tools run without approval. Tool review and data protection still apply. The audit log records this change.

The audit log

For a write tool, Cyproxy writes the audit log before it calls the tool. If Cyproxy cannot write the log, it does not make the call.