query_connection
Run a read-only SQL SELECT query against a specified source connection to inspect or preview data without modifying it.
Instructions
Execute a read-only SQL query against a source connection.
Args: connection_id: The connection to query. query: A single SELECT statement (no mutations allowed).
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": {
"connection_id": "<connection_id>",
"query": "<query>"
},
"name": "query_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| connection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |