db_query
Execute a read-only SQL query against a stand's PostgreSQL database by providing the stand name and schema-qualified query.
Instructions
Execute a read-only SQL query against a stand's PostgreSQL database. Use schema-qualified table names (e.g. "SELECT * FROM orders.users").
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": {
"stand": "<stand>",
"query": "<query>"
},
"name": "db_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | SQL query. Use schema-prefixed table names (e.g. "SELECT * FROM schema.table"). | |
| stand | Yes | Target stand (e.g. staging) |