execute_query
Run SELECT, SHOW, DESCRIBE, or EXPLAIN SQL queries securely on a MariaDB/MySQL database. Specify a database or use the default for efficient data exploration and analysis.
Instructions
Execute a SQL query
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | No | Database name (optional, uses default if not specified) | |
query | Yes | SQL query (only SELECT, SHOW, DESCRIBE, and EXPLAIN statements are allowed) |