execute_query
Execute SQL queries with parameters through a secure SSH tunnel to PostgreSQL, with result limits and truncation flags.
Instructions
Execute SQL with optional parameters. Results are capped by MAX_ROWS and include a truncated flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL to execute | |
| params | No | Parameters for $1, $2, ... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |