Update article
update_articleUpdate article text content from markdown. Use <SCREENSHOT {id}> placeholders to position screenshots. Screenshots in the markdown are kept. Screenshots removed from markdown are deleted. Order in markdown defines final order. Keep each <EMBED {id}> placeholder unchanged, or what it stands for is deleted. Get the current article first with get_article, modify the markdown, then call this with the article_version of the article you edited (from get_article, or from your last add_article_media / update_article_media / update_article on it). If the article changed since, the update is refused: read it again and redo the change.
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": {
"project_id": "<project_id>",
"markdown": "<markdown>"
},
"name": "update_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | Updated article content as markdown with <SCREENSHOT {id}> placeholders | |
| project_id | Yes | Project ID | |
| article_version | No | The article_version of the article this markdown was written from. Recommended: without it, an edit someone else made since is overwritten. |