db_query
Query rows from an allowed database table by applying equality filters, selecting columns, ordering results, and limiting rows.
Instructions
Query rows from an allowed table.
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": {
"table": "<table>"
},
"name": "db_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| table | Yes | Target table name (must be allowed). | |
| where | No | Equality conditions, e.g. {"id": 1} | |
| columns | No | Columns to select, default ['*']. | |
| orderBy | No |