db_query_execute
Execute custom SQL SELECT queries on a connected database with configurable row limits.
Instructions
Execute custom SQL query (SELECT only for safety)
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": {
"connection_id": "<connection_id>",
"query": "<query>"
},
"name": "db_query_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | Connection identifier from db_connect_test | |
| query | Yes | SQL SELECT query to execute | |
| limit | No | Maximum number of rows to return |