execute_query
Execute read-only SQL queries on DBeaver database connections to retrieve data from 200+ database types without additional configuration.
Instructions
Execute a SQL query on a specific DBeaver connection (read-only queries)
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": {
"connectionId": "<connectionId>",
"query": "<query>"
},
"name": "execute_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | Yes | The ID or name of the DBeaver connection to use | |
| maxRows | No | Maximum number of rows to return (default: 1000) | |
| query | Yes | The SQL query to execute (SELECT statements only) |