Execute Query
execute_queryRun SQL queries on PostgreSQL, MySQL, or SQLite databases using connection strings to retrieve or modify data.
Instructions
Run a query to database
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": {
"db_type": "<db_type>",
"connection_string": "<connection_string>",
"query": "<query>"
},
"name": "execute_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_type | Yes | ||
| connection_string | Yes | ||
| query | Yes |