shard_allocation
Diagnose unassigned shards and resolve yellow or red cluster health by getting per-node disk usage and decider-level reasons such as disk watermark, awareness, filtering, or max_retries.
Instructions
Shard placement and why shards are unassigned. Returns _cat/shards, per-node disk usage, and for any UNASSIGNED shard the cluster allocation explanation (decider-level reasons: disk watermark, awareness, filtering, max_retries). This is the tool for a yellow/red cluster.
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": "shard_allocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | * | |
| only_problems | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |