Edit an article draft
update_article_draftChanges a draft article of the signed-in person's: only the fields given, the rest stay. Published articles can't be changed here. A new body replaces the whole body. For search: the title is the page's search title, so keep it to 60 characters with the phrase people search for first; the subtitle is its search description, so make it one sentence of 120 to 160 characters saying what the reader gets; open with a paragraph that answers the title; give the body ## headings (they build the contents) and 300+ words; link to related Shipfolio pages. searchHints in the result says what this draft could still change. The article is saved as a draft only: nothing is published. The author reviews it, adds a cover image or data embeds and publishes it in the Shipfolio editor at editUrl. Needs the write scope. Before calling, show the user exactly what will change and wait for them to confirm.
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": {
"articleId": "<articleId>"
},
"name": "update_article_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The whole new body in Markdown, at most 40,000 characters | |
| title | No | A new headline and search title: 60 characters or fewer shows in full on Google, at most 120 | |
| subtitle | No | A new one-sentence standfirst, used as the search description: 120 to 160 characters, at most 240 | |
| articleId | Yes | The article's id, from create_article_draft or list_my_articles | |
| nicheTags | No | Replaces the niches: up to 3 slugs from list_niches |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| title | Yes | ||
| status | Yes | ||
| editUrl | Yes | ||
| product | Yes | ||
| subtitle | Yes | ||
| nicheTags | Yes | ||
| wordCount | Yes | ||
| publishedAt | Yes | ||
| searchHints | Yes | ||
| publishesLeft | Yes | ||
| readingMinutes | Yes | ||
| allowanceResetsAt | Yes |