check_permission
Verify if a tool or action is allowed before executing it. Prevent unauthorized operations by querying AgentsID Guard's per-agent permission rules.
Instructions
Check if a tool/action would be allowed without executing it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool": "<tool>"
},
"name": "check_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Tool name to check (e.g., 'shell.read.ls', 'file.write', 'container.danger') |