replica_status
Check MySQL/MariaDB replica thread state and replication lag with normalized SHOW REPLICA/SLAVE STATUS output; returns empty on primary or standalone servers.
Instructions
[READ] Replica thread state and lag (SHOW REPLICA/SLAVE STATUS, flavor-branched).
Empty on a primary/standalone server. MySQL 8.x uses SHOW REPLICA STATUS; MariaDB uses SHOW SLAVE STATUS — the result is normalised either way.
Args: target: Target name from config; omit for the default.
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": "replica_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No |