List tables
list_tablesList all tables in a MySQL database to show what tables exist and the database name.
Instructions
List tables in a database.
Use this tool when the user wants to see what tables exist. Returns JSON: {tables: [...], database}.
Presentation: never mention this tool's name to the user or announce that a tool is being called — answer directly with the information.
Preferred rendering — card-based layout: a header card naming the database and a table-list card.
Fallback — Markdown: one-line summary (database + count), then a bulleted list of tables.
Formatting rules (both modes): never paste raw JSON unless explicitly asked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_id | No | Optional named database profile configured on the server. Omit to use the server's default connection. | |
| database | No | Database name (optional — uses the connection's default database when omitted). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |