db_query
Execute SQL safely through DBShield guardrails that block destructive DDL and unconstrained mutations lacking WHERE clauses.
Instructions
Safely execute a SQL query through DBShield guardrails. Destructive DDL and unconstrained mutations without WHERE clauses are automatically intercepted and blocked.
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": "db_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL query to execute. | |
| intent | No | Stated user-facing instruction or business justification for the SQL query. Required in STRICT tier when modifying sensitive fields. | |
| params | No | Optional parameterized query values. |