execute_query
Execute SQL queries against Snowflake and retrieve results as a table, JSON, or CSV.
Instructions
Execute a SQL query against Snowflake and return the results
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": {
"query": "<query>"
},
"name": "execute_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL query to execute | |
| format | No | Output format: table, json, or csv (default: table) | table |
| timeout | No | Query timeout in seconds | |
| max_rows | No | Maximum number of rows to return (default: 100) |