get_collection_items
Retrieve items (dashboards, cards, or collections) from a specified Metabase collection. Filter by type to get only dashboards, cards, or collections, or request all items.
Instructions
Get items (dashboards, cards, collections) in a collection.
Args: collection_id: The ID of the collection (use "root" for root collection) item_type: Type of items to return: "all", "dashboard", "card", "collection"
Returns: Items in the collection
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": {
"collection_id": "<collection_id>"
},
"name": "get_collection_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes | ||
| item_type | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |