mysql_explain
Explain a single SELECT or SHOW statement to view its execution plan, while rejecting stacked queries and DML for safe MySQL diagnostics.
Instructions
EXPLAIN a single SELECT or SHOW. Stacked queries and DML are rejected.
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": {
"statement": "<statement>"
},
"name": "mysql_explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| statement | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||