list_tables
Retrieve a list of tables from a Metabase database by providing the database ID and an optional schema name for filtering.
Instructions
List all tables in a database.
Args: database_id: The ID of the database schema: Optional schema name to filter by
Returns: List of tables in the database
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"database_id": "<database_id>"
},
"name": "list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | ||
| schema | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |