execute-query
Execute parameterized SQL queries with built-in safety checks to prevent SQL injection. Supports SELECT, INSERT, UPDATE, DELETE operations, allowing secure database interactions on PostgreSQL systems.
Instructions
Execute a parameterized SQL query with safety checks. Supports SELECT, INSERT, UPDATE, DELETE operations with parameter binding to prevent SQL injection.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
explain | No | ||
params | No | ||
query | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"explain": {
"default": false,
"type": "boolean"
},
"params": {
"default": [],
"type": "array"
},
"query": {
"minLength": 1,
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}