Update an existing Hashnode draft
hashnode_update_draftModify an existing Hashnode draft by updating titles, content, subtitles, and metadata. Specify only the fields requiring changes using the draft's ID.
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'
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"draft_id": "<draft_id>"
},
"name": "hashnode_update_draft"
}
}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 |