query
Run read-only SQL SELECT or WITH statements against Oracle Database and return up to 200 rows, with bind variables using :1, :2, or :name syntax.
Instructions
Execute a read-only SQL SELECT (or WITH …) query and return the results. At most 200 rows are returned. Bind variables use Oracle syntax (:1, :2 or :name).
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": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL SELECT query (no trailing semicolon needed) | |
| params | No | Bind values: array for :1, :2, … or object for :name |