verify_user_permission
Check whether a user has a given permission, returning true or false with context. Supports optional resource scoping for granular access verification.
Instructions
Check whether a specific user has a given permission. Returns true/false with context.
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": {
"userId": "<userId>",
"permission": "<permission>"
},
"name": "verify_user_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The user's unique ID or username. | |
| permission | Yes | The permission identifier to check (e.g. 'jobs.cancel', 'batch.rerun', 'audit.export'). | |
| resource | No | Optional specific resource ID to check scoped permission against. |