cluster_state
Retrieve cluster status information including version, nodes, routing tables, metadata, or blocks to monitor and manage your Elasticsearch/OpenSearch compatible infrastructure.
Instructions
获取集群状态
参数:
metric: 指标类型 version/master_node/nodes/routing_table/metadata/blocks(可选)
index: 指定索引(可选)
返回集群完整状态信息
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": "cluster_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | ||
| index | No |