query
Execute read-only SQL queries against MySQL databases to explore database structures and investigate data across target environments.
Instructions
Execute read-only SQL queries against MySQL databases
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>",
"environment": "<environment>"
},
"name": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query to execute (SELECT and SHOW only) | |
| timeout | No | Query timeout in milliseconds (default: 30000) | |
| environment | Yes | Target environment to run the query against |