mydatabase_execute_safe_query
Executes safe SELECT queries on a MySQL database, automatically truncating large results to prevent errors. Ideal for read-only data retrieval in AI agent workflows.
Instructions
Executes a safe SELECT query on the database. Large results are automatically truncated. CRITICAL: NEVER use this tool (e.g., SHOW TABLES or querying information_schema) to understand the database structure. You MUST ALWAYS use the 'search_schema' tool first to understand the relationships and tables before writing any JOIN queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL SELECT statement to execute. |