Ghost MCP Server

by MFYDev
Verified

update_tag

Update a tag with new data.

Args: tag_id: The ID of the tag to update update_data: Dictionary containing the updated data. Fields that can be updated: - name: The name of the tag - slug: URL slug for the tag - description: Description of the tag - feature_image: URL to the tag's feature image - visibility: Tag visibility ('public' or 'internal') - accent_color: CSS color hex value for the tag - meta_title: Meta title for SEO - meta_description: Meta description for SEO - canonical_url: The canonical URL - og_image: Open Graph image URL - og_title: Open Graph title - og_description: Open Graph description - twitter_image: Twitter card image URL - twitter_title: Twitter card title - twitter_description: Twitter card description - codeinjection_head: Code to inject in header - codeinjection_foot: Code to inject in footer Example: { "name": "Updated Name", "description": "Updated description" } ctx: Optional context for logging Returns: Formatted string containing the updated tag details Raises: GhostError: If there is an error accessing the Ghost API

Input Schema

NameRequiredDescriptionDefault
tag_idYes
update_dataYes

Input Schema (JSON Schema)

{ "properties": { "tag_id": { "title": "Tag Id", "type": "string" }, "update_data": { "title": "Update Data", "type": "object" } }, "required": [ "tag_id", "update_data" ], "title": "update_tagArguments", "type": "object" }