run_query
Execute read-only SQL queries in Zetaris to retrieve up to 200 rows, join tables across sources, and get query timing plus the exact SQL used.
Instructions
Run a read-only SQL query in Zetaris (SELECT, WITH, SHOW, DESCRIBE, EXPLAIN). Zetaris SQL is Spark SQL; tables are DATABASE.table and one query can join tables from different sources. Returns up to 200 rows, the time taken and the exact SQL run.
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_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes |