query
Execute read-only SQL SELECT queries against a Microsoft SQL Server database to retrieve data. This tool supports custom ports and multiple authentication methods for database access.
Instructions
Execute a read-only SQL query (SELECT) against the configured SQL Server 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": {
"sql": "<sql>"
},
"name": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query to run (e.g. SELECT ...) |