mydatabase_search_schema
Search for a database table by name to retrieve its exact SQL DDL, including DDL of parent and child tables, for schema exploration.
Instructions
CRITICAL TOOL FOR SCHEMA EXPLORATION: Use this tool FIRST to understand the database structure. Searches for a table and returns its exact SQL DDL, along with the DDL of its direct parent and child tables (Auto-Join Context). Do NOT use execute_safe_query for schema exploration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The name of the table or entity to search for (e.g. 'users', 'invoices'). |