Create an article
create_articleWrite a blog article for a profile from an idea: SmartGenius researches the links you give, writes the article in the profile's voice and can draw a cover. No idea yet? Leave idea out and set research: true: SmartGenius picks the subject itself, the way the blog's own schedule does, from the profile's saved blog ideas and what its daily research found in its niche. Without an idea and without research: true the call is refused. It answers at once, while the article is still being written. Call get_article with wait until making.status is succeeded or failed (a few minutes). Costs 2 credits for the text, plus 1 more when drawCover is true. Calling this again makes a second article and spends credits again, unless you send the same requestId: then you get the first article back. The article lands as a DRAFT. You cannot approve or publish it: a person does that in the studio (studioUrl), or the profile's own blog schedule they already set. Give them that link. The profile must have a blog (see blog in list_profiles). When its brand has more than one blog, pass blogId (list_brands). destination says which blog it is for; read it back with the profile this answer gives.
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": {
"profile": "<profile>"
},
"name": "create_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idea | No | What the article is about. Leave it out only with `research: true` | |
| adFor | No | Set when the article is an ad for a brand: its name is shown to readers | |
| links | No | Pages to read before writing (up to 3): a source, a product page | |
| blogId | No | The id of the blog it is for, from list_brands or list_profiles. Needed only when the brand has more than one blog. The call is refused if that blog was replaced since you read it | |
| ideaId | No | The id of an idea saved on this profile's blog; it is used up | |
| profile | Yes | A profile's handle from list_profiles, or its permanent UUID | |
| language | No | One of pt-BR, en, es. Default: the profile's language | |
| research | No | With no `idea`: let SmartGenius pick the subject from the profile's saved blog ideas and its daily research. With an idea, the article is about your idea | |
| drawCover | No | Draw a cover image (1 more credit). Default false | |
| requestId | No | Any id you make up for this call, like a UUID. Send the same one if you retry after a timeout or a lost answer: you get the first answer back and nothing is spent twice. Remembered for 24 hours | |
| fromPostId | No | The id of a post on this profile to build the article from; its links come along |