update_article
Set or replace the HTML article for a DayBy post by slug, with custom content, CTAs, and rich formatting, following DayBy's clean HTML rules.
Instructions
Set or replace the HTML article for a DayBy post. Use this to write custom articles with CTAs, rich formatting, or any content the user wants.
DayBy article HTML rules:
Return clean HTML fragments only (no wrapper divs, article tags, doctype, html, head, body)
Use tags for paragraphs (no classes needed)
Use for section headings, for sub-sections
Use for key terms, for emphasis
Use for pull quotes
Use for code blocks, inline for references
Use / for lists (prefer prose over lists)
Use for links and CTAs
No CSS classes on elements (the page stylesheet handles typography)
Target length: 600-1000 words
Keep the author's voice and perspective from the original post
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": {
"slug": "<slug>",
"html_article": "<html_article>"
},
"name": "update_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The post slug to update | |
| html_article | Yes | The HTML article content. Follow DayBy article HTML rules in the tool description. |