Skip to main content
Queries are saved SQL templates that can be executed directly or used as agent tools. Key properties: Agent query parameters support defaults and locking:
Locked parameters prevent the LLM from seeing or modifying security-sensitive values (like user_id). Contextual parameters: The following parameters are automatically injected into every query execution and can be referenced in SQL: These are always available regardless of the query’s input_schema. Use them for row-level security:
Endpoints: