db_query
Run a single read-only SQL query against the dev database via oxmysql, using ? placeholders and parameters to inspect data safely without modifying it.
Instructions
Run one read-only SQL query (SELECT/SHOW/DESCRIBE/EXPLAIN/WITH) through oxmysql on the dev database. Use ? placeholders with params. Needs bakery_ai_sql 1.
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": {
"query": "<query>"
},
"name": "db_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| params | No | ||
| server | No |