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)
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) |
Input Schema (JSON Schema)
{
"properties": {
"connectionId": {
"description": "The ID or name of the DBeaver connection to use",
"type": "string"
},
"maxRows": {
"default": 1000,
"description": "Maximum number of rows to return (default: 1000)",
"type": "number"
},
"query": {
"description": "The SQL query to execute (SELECT statements only)",
"type": "string"
}
},
"required": [
"connectionId",
"query"
],
"type": "object"
}