mysql_replica_status
Check replica lag, IO/SQL thread state, and last replication errors to diagnose MySQL replication issues without exposing data.
Instructions
Replica lag, IO/SQL thread state, last IO/SQL error.
SHOW REPLICA STATUS (8.0.22+) or SHOW SLAVE STATUS (older). Replication
channel metadata only, never binlog row contents. is_replica: false
with empty rows is the normal result on a standalone/primary server.
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": "mysql_replica_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||