| Property | Description |
|---|---|
namespace / name | Unique identifier |
database_connection_id | Which database connection to use |
description | Shown to the LLM as the tool description |
operation | read or write |
sql | SQL with :param_name placeholders |
input_schema | JSON Schema for parameter validation |
output_schema | JSON Schema for output validation |
timeout_ms | Query timeout (default: 5000ms) |
max_rows | Max rows returned for read operations (default: 1000) |
user_id).
Contextual parameters: The following parameters are automatically injected into every query execution and can be referenced in SQL:
| Parameter | Description |
|---|---|
:user_id | UUID of the user who triggered the query |
:user_email | Email of the triggering user |
input_schema. Use them for row-level security: