mysql_query
Execute a read-only SQL query to retrieve data from a MySQL database. Use when fetching data without modifications.
Instructions
Execute a read-only SQL query (e.g., SELECT). Use this for data retrieval.
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": {
"sql": "<sql>"
},
"name": "mysql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL query to execute. |