article_add_content
Add a content area to a blog article, seeding it with text, gallery, form, or code. Defaults to a 'body' area; refuses duplicates unless force is set.
Instructions
Create a content area + linked text on a blog article (POST /articles/{id}/contents) — the article counterpart of page_add_content, with identical semantics. Use it to seed a freshly-created article's body or gallery, which /contents reports as [] until edit-mode opens the article.
name must match the article layout's {% content %} tag (default 'body'; named areas match {% content name="..." %}). content_type defaults to "text"; valid values: text, gallery, form, content_partial, buy_button, code.
Refuses by default if an area with the same name already exists, since calling twice otherwise creates duplicates. Repeated names ARE legitimate in some article layouts (observed live: two 'text-images' areas on one article) — pass force=true for those.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Content area name (default 'body'; named areas match {% content name="..." %}) | body |
| site | Yes | ||
| force | No | Skip the duplicate-name pre-check. Default false: the tool refuses to create a second area with a name that already exists on the article. | |
| article_id | Yes | ||
| content_type | No | text |