P7Y
ParsimonY
Back to Action Gate

Action Gate tutorial

Learn how to review Action Gate results.

This service is in development. These lessons and examples describe the planned workflow. Interactive exercises are not available yet.

  1. Review and accept a policy interpretation before activating that policy for a tool.
  2. Submit the exact proposed tool call and the required context. Arguments are data; they do not create new permissions.
  3. Proceed only with a yes decision and a valid token bound to that payload. A no decision or a failed request gives no permission to act.

Read an example

Written by hand to illustrate the result, not a live or measured output.

Within the approved policy

You send

Policy v4
Support agents may issue refunds of up to $100 to the original payment method. (approved)
Call
issue_refund(amount: 80, currency: "USD", method: "original")

You get

Decision
yes — within the $100 limit, to the original payment method (v4 §1)
Outside it

You send

Policy v4
Support agents may issue refunds of up to $100 to the original payment method. (approved)
Call
issue_refund(amount: 80, currency: "USD", method: "store_credit")

You get

Decision
no — refunds must go to the original payment method (v4 §1)
Not covered, so no

You send

Policy v4
Support agents may issue refunds of up to $100 to the original payment method. (approved)
Call
issue_refund(amount: 95, currency: "EUR", method: "original")

You get

Decision
no — the limit is stated in USD; the approved policy does not cover currency conversion

Check your understanding

What did the caller supply? Which parts of the result follow from that input? Where does the example leave a question open?