execute-sql-query
Execute SELECT queries on PostgreSQL databases to retrieve data while maintaining security through read-only operations.
Instructions
Execute a SQL query on the database. Only SELECT statements are allowed for security.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
sql | Yes | The SQL query to execute |
Input Schema (JSON Schema)
{
"properties": {
"sql": {
"description": "The SQL query to execute",
"type": "string"
}
},
"required": [
"sql"
],
"type": "object"
}