query_the_database_directlyAdmin-only MCP tool.
Query the database with a SELECT statement. Consider this a last resort. Using another tool is almost always a better option. The database is 12.3.2-MariaDB-ubu2404 and queries are written in SQL. If you don’t know the database schema for the form, use the get_form_details tool to look up the form’s database table name, and the field names are the element handles.
| Property | Type | Required? | Description |
|---|---|---|---|
| sql | string | Required | The SQL statement to run on the database. Must be a SELECT statement. |