superset_tag_create
Create new tags in Apache Superset to organize and categorize charts, dashboards, and other objects for better content management and discovery.
Instructions
Create a new tag in Superset
Makes a request to the /api/v1/tag/ POST endpoint to create a new tag that can be applied to objects like charts and dashboards.
Args: name: Name for the tag
Returns: A dictionary with the created tag information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Implementation Reference
- main.py:1520-1537 (handler)The main handler function for the 'superset_tag_create' tool. It is decorated with @mcp.tool() for registration and implements the logic to create a new tag by making a POST request to Superset's /api/v1/tag/ endpoint using the shared make_api_request helper.@mcp.tool() @requires_auth @handle_api_errors async def superset_tag_create(ctx: Context, name: str) -> Dict[str, Any]: """ Create a new tag in Superset Makes a request to the /api/v1/tag/ POST endpoint to create a new tag that can be applied to objects like charts and dashboards. Args: name: Name for the tag Returns: A dictionary with the created tag information """ payload = {"name": name} return await make_api_request(ctx, "post", "/api/v1/tag/", data=payload)