FIELD GUIDE / FREE ECOSYSTEM

Agent Tool Permissions: Read, Write, Send and Revocation Tests

Use a free permission template to separate read, write, delete and outbound actions, then validate actual runtime restrictions with refusal and revocation cases.

By Universal Intelligence · Updated · Free templates; review the license on each detail page.

Start with one specific task

Let an agent summarize documentation in a test folder without changing files, sending email or deleting anything.

Scope a test folder → Allow read tools → Reject writes and outbound actions → Record results → Revoke and retest

Download, review, import, and validate

  1. List permitted data, directories, tools and actions. Create a test folder with synthetic files.
  2. Treat reading, writing, deletion and outbound sending separately. Deny tools and parameters outside the allowlist by default.
  3. Configure permissions in the actual client or execution service. A persona instruction alone does not enforce a runtime restriction.
  4. Test an allowed read, then a write, an out-of-scope path and an outbound action. Verify actual refusal at the execution layer rather than relying on the model’s promise.
  5. Revoke access and repeat the call. Confirm that old permissions cannot be reused and that failed calls stop dependent actions.
  6. Record tool names, sanitized parameters, allow or deny results, and timestamps. Keep necessary evidence without logging client files or credentials.

Worked example and acceptance checks

Use this illustrative case to validate your setup.

Synthetic grant: read only within a test folder.
Case A: reading its documentation should be allowed.
Case B: changing files or sending email should be denied by the execution layer.
Case C: after revocation, the old grant should no longer permit reads.
  • Execute both allow and deny cases.
  • Out-of-scope parameters cannot bypass the tool allowlist.
  • Old grants cannot be reused after revocation.

Frequently asked questions

Is a “read only” persona instruction enough?

No. Model instructions and execution permissions are separate layers; actual calls need client or server enforcement.

Does this prevent all prompt injection?

No. It is a starting point for permission design and testing, not proof of safety for every input.

Need help with import or customization? Submit a private support ticket.

Submit a private request

Continue learning

All usage guides