List Hashnode drafts
hashnode_list_draftsRetrieve and review drafts in a Hashnode publication with pagination, returning IDs, titles, subtitles, tags, and update dates for content planning and editing.
Instructions
List drafts in a Hashnode publication.
Args:
publication_id (string): The publication ID (from hashnode_get_me)
limit (number): Number of drafts to return (default 20, max 50)
after (string): Pagination cursor from a previous call
response_format: 'markdown' or 'json'
Returns: list of drafts with id, title, subtitle, tags, updated date
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": {
"publication_id": "<publication_id>"
},
"name": "hashnode_list_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor from previous response | |
| limit | No | Number of drafts to return | |
| publication_id | Yes | Publication ID (from hashnode_get_me) | |
| response_format | No | Output format: 'markdown' (default) or 'json' | markdown |