create_card
Create a new Metabase card from a native SQL query. Specify the database, query, display type, and optionally a description or collection.
Instructions
Create a new card (saved question) with a native SQL query.
Args: name: Name of the card/question database_id: ID of the database to query query: SQL query string display: Visualization type: table, line, bar, pie, scalar, row, area, combo, pivot, funnel, map description: Optional description collection_id: Optional collection ID to save the card in
Returns: Created card details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| database_id | Yes | ||
| query | Yes | ||
| display | No | table | |
| description | No | ||
| collection_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |