Publish a Hashnode draft
hashnode_publish_draftPublish an existing draft on Hashnode by its ID, making it a live blog post with a URL. Returns post metadata.
Instructions
Publish an existing draft, making it a live blog post.
Args:
draft_id (string, required): Draft ID to publish (from hashnode_create_draft or hashnode_list_drafts)
response_format: 'markdown' or 'json'
Returns: post id, title, slug, url, publishedAt, tags
Examples:
Create draft → publish: hashnode_create_draft → hashnode_publish_draft
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | Draft ID to publish | |
| response_format | No | Output format: 'markdown' (default) or 'json' | markdown |