Tool Permission Scoping
Definition
Tool Permission Scoping — the principle of granting an agent only the permissions on a tool that are required to perform a task. It implements the principle of least privilege at the level of tool invocation.
Levels of Restriction
| Level | Example |
|---|---|
| Data Scope | Access only to the specified table |
| Operation | Read-only, no write |
| Resource | Transaction amount limit |
| Time | Window of allowed calls |
Implementation
-
Separate credentials for each tool.
-
Validation of arguments against Tool Schema.
-
Human confirmation for irreversible operations.
-
Audit of all calls in the log.