Update an existing Hashnode draft
hashnode_update_draftUpdate an existing Hashnode draft by modifying only the specified fields: title, content, subtitle, tags, or cover image. Other draft details stay unchanged, enabling targeted edits.
Instructions
Update fields of an existing draft. Only provided fields are changed.
Args:
draft_id (string, required): Draft ID to update
title (string, optional): New title
content_markdown (string, optional): New content in Markdown
subtitle (string, optional): New subtitle
tags (array, optional): New tags as [{ name, slug }]
cover_image_url (string, optional): New cover image URL
response_format: 'markdown' or 'json'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | New tags as [{ name, slug }] | |
| title | No | New title | |
| draft_id | Yes | Draft ID to update | |
| subtitle | No | New subtitle | |
| cover_image_url | No | New cover image URL | |
| response_format | No | Output format: 'markdown' (default) or 'json' | markdown |
| content_markdown | No | New content in Markdown |