query_sql
Execute one parameterized SELECT on a database using :name bind parameters and an optional row limit that caps returned rows, not database work.
Instructions
Execute one SELECT using :name bind parameters. Limit caps returned rows, not DB work.
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": {
"database": "<database>",
"sql": "<sql>"
},
"name": "query_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| limit | No | ||
| params | No | ||
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||