has_privileges
Verify user permissions for Elasticsearch cluster or index operations to ensure proper access control before executing privileged actions.
Instructions
Check if the current user has specific cluster or index privileges.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "has_privileges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster | No | Cluster privileges to check | |
| index | No | Index privileges to check |