databases_get_schema
Retrieve the complete schema tree for a Metabase database, including tables, columns, data types, and display labels, in one call.
Instructions
Retrieve the full schema tree for a database: all tables with columns, data types, and display labels. A single call returns the complete DB → tables → fields metadata.
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": "databases_get_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Metabase database ID |