read_query
Execute read-only SELECT queries against a development MySQL database with AST-enforced single-statement validation and a 500-row cap for controlled data inspection.
Instructions
Execute a read-only SELECT query against the development database. AST-enforced, single statement only. Max 500 rows.
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": "read_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SELECT query to execute. | |
| limit | No | Optional row limit (max 500). | |
| params | No | Optional query parameters for parameterized queries. | |
| database | No | Optional database name. |