run_select
Runs one read-only SELECT with a configurable row limit and statement timeout, preventing writes while safely inspecting query results.
Instructions
Выполнить одиночный SELECT в транзакции только для чтения: лимит строк, statement_timeout. Запись невозможна.
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_select"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| limit | No | максимум строк (по умолчанию 100, не более 500) | |
| connection | No |