list_tables
List all tables and views in a MySQL/MariaDB database, using the MYSQL_DATABASE variable when no database is specified.
Instructions
List tables and views in a database. Uses MYSQL_DATABASE when database is omitted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Schema name (optional if MYSQL_DATABASE is set) |