run_query
Executes a single read-only SQL SELECT or WITH query against the connected database, returning row- and time-limited results for safe data exploration.
Instructions
Run ONE read-only SQL query (SELECT or WITH ... SELECT) in the database's SQL dialect. Results are limited in rows and execution time.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||