run_query
Safely run read-only SQL SELECT queries against the sales database to answer business questions, returning up to 200 rows with a 5-second limit.
Instructions
Run one read-only SQL SELECT and return up to 200 rows.
Anything that would change data, attach another database or change settings is refused. Queries are stopped after 5 seconds.
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 |