edit_article_draft
Edit an article draft before review. expectedUpdatedAt is required for optimistic concurrency. Only supplied article fields are changed. Returns the updated draft with a new updatedAt. CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.
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>",
"expectedUpdatedAt": "<expectedUpdatedAt>"
},
"name": "edit_article_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Replacement tag list. Omit to keep the current tags. | |
| title | No | New article title. Omit to keep the current one. | |
| excerpt | No | New short summary shown in listings and meta description. Omit to keep the current one. | |
| draft_id | Yes | Article draft id, from the draft creation or list result. | |
| bodyMarkdown | No | Full replacement article body in Markdown. Omit to keep the current body. | |
| expectedUpdatedAt | Yes | The updatedAt value from the latest read_article_draft result. The call is refused if the draft changed since, so re-read and retry. |