Create Auto Article
create_auto_article"Create Auto Article": queue one AI-written article draft about subject (a one-topic order the worker_orders_articles_auto_create worker writes within a few
minutes; it stays an unpublished draft). Returns the order id / uuid: poll get_auto_article for its state. Language takes a CONTENT_LANGUAGES value.
title: when given it is the article's title and the AI writes none. seliee_website_uuid: the merchant's website the article is written on. publish_datetime: the publish date (YYYY-MM-DD).
collections_uuids: optional list of the merchant's collections the article is put in.
brief: this article's own writing instructions (at most 4000 characters, {language} is filled in); they replace the account's and the default writer prompt, e.g. "350-500 words, two h2 sections, one paragraph about the city".
redirect_url: the article gets a published /r/<random> redirect on its website to this url (needs seliee_website_uuid); redirect_utm is a {utm_source: ..., ...} dict (values may use {language} and {article_slug});
redirect_cta_text: when given, the redirect link is also put into the article as that anchor text; a list gives several anchors and one is picked per article.
redirect_cta_position: start (after the first paragraph), middle, end (default) or random.
model picks the model that writes the article (model ids of the provider; list_ai_accounts shows the account and its models); left empty it is the account's own model, then the provider's article default. seliee_articles_order_model is the same, kept for callers of create_articles_order.
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": {
"subject": "<subject>",
"seliee_articles_order_language": "<seliee_articles_order_language>"
},
"name": "create_auto_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | No | ||
| model | No | ||
| title | No | ||
| subject | Yes | ||
| customer_id | No | ||
| redirect_url | No | ||
| redirect_utm | No | ||
| ai_account_id | No | ||
| customer_uuid | No | ||
| ai_account_uuid | No | ||
| publish_datetime | No | ||
| collections_uuids | No | ||
| redirect_cta_text | No | ||
| seliee_website_uuid | No | ||
| redirect_cta_position | No | ||
| seliee_articles_order_model | No | ||
| seliee_articles_order_language | Yes | ||
| seliee_articles_order_ai_provider | No | openai |