run_query
Execute a SQL query to explore database contents. Queries are restricted to read-only SELECT for safety.
Instructions
Execute a SQL query against the database. Checked for safety. Read-only SELECT by default.
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 | The SQL query string to run. |