queryshield
v1.0.1Secure SQL proxy for AI agents — NL→SQL, AST safety, per-agent RLS, audit log.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
query_database Query Database
Run a natural-language question against a registered database. QueryShield translates to safe SQL, applies row-level security, and audit-logs the call.
| Parameter | Type | Description |
|---|---|---|
database_alias * | string | alias of a database registered for this tenant. |
question * | string | natural-language question. |
max_rows | integer | cap on returned rows (default 100, hard cap 5000). |
query_database_sql Query Database Sql
Run a structured SELECT statement against a registered database. Useful when the agent already knows the schema and wants deterministic SQL (no LLM translation step). The same safety + RLS pipeline still applies — non-SELECTs are rejected.
| Parameter | Type | Description |
|---|---|---|
database_alias * | string | |
sql * | string | |
max_rows | integer |
get_audit_log Get Audit Log
Recent audit entries for the calling agent.
| Parameter | Type | Description |
|---|---|---|
limit | integer |