execute_select_query
Run read-only SELECT queries against SQL Server, MySQL, or PostgreSQL databases and return result rows with column details.
Instructions
Execute a SELECT query on the database. Only SELECT queries are allowed for security. Returns the query results with rows and column information.
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": {
"query": "<query>"
},
"name": "execute_select_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SELECT SQL query to execute |