Draft a blog post with AI
generate_articleUse this when someone asks you to write a new blog post on a topic or saved topic idea. Returns the draft's id, URL, title, word count and internal links (text only; published only with autoPublish). It uses paid AI and can take about a minute, and a call that times out can still save the draft. Not for saving your own text.
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": {
"blogId": "<blogId>"
},
"name": "generate_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | Title and optional angle to write about; omit when topicIdeaId is given | |
| blogId | Yes | Blog to write for | |
| locale | No | Language of the post, an ISO 639-1 code; defaults to the blog's default locale | |
| persist | No | false returns a preview without saving anything; defaults to true | |
| autoPublish | No | true publishes the post immediately; defaults to false, a draft | |
| topicIdeaId | No | Saved topic idea to write about; omit when topic is given | |
| sitemapMaxUrls | No | How many sitemap URLs to offer as internal links, from 1 to 500; defaults to 150 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| article | Yes |