run_query
Execute read-only SQL SELECT/WITH queries against a SQLite database to answer business questions, with results capped at 200 rows.
Instructions
Run a READ-ONLY SQL query (SQLite dialect). Only SELECT/WITH. Results are capped at 200 rows. Money columns ending in _cents are integers in cents.
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": "run_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes |