Run pre-defined SQL statements through a constrained form interface, with URL query parameters to prefill fields for bookmarking and sharing.Documentation Index
Fetch the complete documentation index at: https://dbhub.ai/llms.txt
Use this file to discover all available pages before exploring further.
execute_sql Tools
Forexecute_sql tools, you get a full SQL editor with syntax highlighting.
| Parameter | Description | Example |
|---|---|---|
sql | Prefills the SQL editor (URL encoded) | ?sql=SELECT%20*%20FROM%20users%20LIMIT%2010 |
Custom Tools
Custom tools provide a constrained interface that limits users to running pre-defined SQL statements. Instead of writing arbitrary SQL, users fill in a parameter form—reducing errors and enforcing safe query patterns.
Example configuration in dbhub.toml:
dbhub.toml
| Parameter | Description | Example |
|---|---|---|
{param_name} | Prefills the form field matching the parameter name (URL encoded) | ?emp_no=10001 |