create_mongodb_card
Create a MongoDB question card in Metabase by specifying database ID, collection name, and MongoDB query. Optionally add a description, assign to a collection, or configure visualization settings.
Instructions
Create a new MongoDB question/card in Metabase.
Args: name: Name of the card. database_id: ID of the MongoDB database. collection: MongoDB collection name. query: MongoDB query string (aggregation pipeline or query). description: Optional description. collection_id: Optional collection to place the card in. visualization_settings: Optional visualization configuration.
Returns: The created MongoDB card object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| database_id | Yes | ||
| collection | Yes | ||
| query | Yes | ||
| description | No | ||
| collection_id | No | ||
| visualization_settings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||