superset_tag_create
Create custom tags for Superset assets and attach them to selected dashboards, charts, datasets, or saved queries.
Instructions
Create a new tag and optionally attach it to Superset objects.
IMPORTANT: Superset API returns {} on creation (without tag ID). To get the new tag's ID, call superset_tag_list after creation.
Object attachment is only possible during creation via objects_to_tag. Direct attachment endpoints (POST/DELETE /api/v1/tag/{type}/{id}/) do not work in 6.0.1.
Args: name: Tag name. description: Tag description (optional). objects_to_tag: JSON string with a list of objects to tag. Format: [["dashboard", 1], ["chart", 5], ["dataset", 3], ["saved_query", 2]] Each element is a pair [object_type, object_id]. Allowed types: "dashboard", "chart", "dataset", "saved_query".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| description | No | ||
| objects_to_tag | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |