Get RabbitMQ Permission
rabbitmq_permission_getRetrieve a RabbitMQ user's permission details for a specific virtual host, including configure, write, and read expressions. Use it to verify access for an existing vhost/user pair.
Instructions
Get RabbitMQ Permission
Returns vhost, user and configure/write/read expressions for the selected resource. Obtain the vhost and user strings from rabbitmq_permissions_list; unsupported engines return 409 and missing clusters return 404.
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": {
"cluster": "<cluster>",
"vhost": "<vhost>",
"user": "<user>"
},
"name": "rabbitmq_permission_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Nonempty account-name string from rabbitmq_users_list; use the exact returned name, not an API key or password. | |
| vhost | Yes | Raw virtual host name, encoded exactly once as a path segment on the wire. The default host / is %2F; the literal name %2F is %252F. | |
| cluster | Yes | Managed cluster name; the RBAC object is namespace/cluster. | |
| namespace | No | Namespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| read | Yes | ||
| user | Yes | ||
| vhost | Yes | ||
| write | Yes | ||
| configure | Yes | ||
| operationId | No |