partition_state
Retrieve leader and in-sync replica (ISR) state for a Kafka topic's partitions and identify leader skew across brokers to diagnose replication and availability issues in the cluster.
Instructions
Leader/ISR state per partition, plus leader skew across brokers.
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": {
"topic": "<topic>"
},
"name": "partition_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |