List Tables in Database
mysql_list_tablesList all tables in a MySQL database. Optionally specify the database and choose response format: Markdown or JSON.
Instructions
List all tables in a MySQL database.
Args:
database (string, optional): Database name. Uses MYSQL_DATABASE if omitted.
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns:
markdown: formatted table list
json: { database: string, tables: string[], count: number }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Database name (uses MYSQL_DATABASE env var if omitted) | |
| response_format | No | Output format: 'markdown' or 'json' | markdown |