run_query
Execute a single read-only SELECT query against a SQLite database to answer business questions, returning columns and rows as JSON within configured row limits.
Instructions
Run ONE read-only SELECT query (SQLite). purpose: the user's question in a few words, kept in the audit log.
Returns columns and rows as JSON, at most the configured row limit.
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 | ||
| purpose | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |