Add content
content_addAdd content to your app. Use it to post news, add a date to the agenda or a place to the map, upload pictures to an album, or add a paragraph, a quote, a picture or a video to a post. Without content_id: create an article, an event, a map place or a video, with its first body blocks if you pass them, or add 1 to 10 photos to a gallery (type photo). With content_id: add blocks (text, photo, quote, embed) to an existing item or page body (type page). Up to 10 blocks per call, written in order. A new item is published at once unless status says otherwise. To create, title and category_ids are required (read the categories with content_get, type section); an event also needs starts_at and ends_at, a map place address, latitude and longitude, a video player_embed. Not possible: creating a sound, a caption on a photo of an article or an event. A page of the app (a section, in content_get) or a category is added with myapp_add, not here. The answer gives the new ids; a refusal names the field to fix. Content is visible in the app as soon as it is published, without the Publish of the back office (only design changes made with myapp_change wait for it); to create an item without showing it, pass status draft, or stock to publish it later.
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": {
"type": "<type>"
},
"name": "content_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date shown on the item, RFC 3339 with offset, for example 2026-11-02T10:00:00+01:00. Article, event, video. | |
| slug | No | Last part of the item's web address; the server may normalise it. Not for photo. | |
| type | Yes | The content type. article, event, map and video are created here; photo adds photos to a gallery; sound only receives blocks, with content_id. page adds blocks to the body of an About or Form page, with content_id, the page id. | |
| No | Contact email. Map place and event. | ||
| phone | No | Contact phone number. Map place and event. | |
| title | No | Title of the item, 250 characters at most. Required to create an article, an event, a map place or a video; the title of a photo goes in photos. | |
| access | No | premium puts the item behind the paid access of the app (apps that sell access); free leaves it open. Not for photo. | |
| author | No | Author name shown on the item. Article, video. Default: the name of the account holder. | |
| blocks | No | Body blocks to write, in reading order, 10 at most. Text and quote take text; photo takes image; embed takes embed. | |
| photos | No | Photo only, required: 1 to 10 photos to add to the gallery. | |
| pinned | No | true pins the item at the top of its category. Article, video. | |
| status | No | Publication status: published (default), draft (unfinished, not visible) or stock (set aside, not visible, to publish later). A photo is only published or stock. To schedule: stock with publish_at. | |
| address | No | Postal address. Map place (required) and event. | |
| all_day | No | Event only: true when the event lasts the whole day. | |
| ends_at | No | Event only, required: end, same format, after starts_at (the same day or later when all_day is true). | |
| summary | No | Short summary shown with the title, plain text (read back as leadin). Article, event, map place and video. | |
| website | No | Map place only: web address of the place. | |
| latitude | No | Latitude in decimal degrees. Map place (required) and event. Never make coordinates up: ask the user when they are unknown. | |
| pin_icon | No | Map place only: its pin on the map: 1 marker (default), 2 flag, 3 star, 4 pushpin, 5 circle, or a custom image as a public URL, a data URI or base64. | |
| event_url | No | Event only: web address of the event's own page. | |
| insert_at | No | With content_id: place of the first added block, 1 being the top; the next ones follow it. Omit to add at the end. Without content_id, refused: the call would create a new item. | |
| longitude | No | Longitude in decimal degrees. Map place (required) and event. | |
| pin_color | No | Map place only: tint of the pin, #RGB or #RRGGBB. An empty string removes the tint. | |
| seo_title | No | Title for search engines. Not for photo. | |
| starts_at | No | Event only, required: start, RFC 3339 with offset, for example 2026-12-12T20:00:00+01:00 (read back as sortDate). | |
| content_id | No | Add the blocks to this existing item instead of creating a new one. Article, event, map place, video and sound. For type page: the page id, read with myapp_get_app. | |
| publish_at | No | Future date and time at which a stock item publishes itself, RFC 3339 with offset. Only with status stock. Not for photo. | |
| section_id | No | Photo only, required: the gallery section that receives the photos (id read with content_get, type section, section_type photo). | |
| free_blocks | No | Article only, with access premium: number of blocks readable before the paywall, 0 to 5. | |
| tickets_url | No | Event only: web address where tickets are sold. | |
| category_ids | No | Ids of the categories the item is filed in, at least one, all of its own content type (read with content_get, type section). Required to create an article, an event, a map place or a video. | |
| player_embed | No | Video only, required: the video player, as iframe HTML or embed code from the video host, with an explicit width and height (for example 100%). | |
| unpublish_at | No | Future date and time at which the item stops being shown, RFC 3339 with offset. Not for photo. | |
| seo_description | No | Description for search engines. Not for photo. | |
| comments_enabled | No | Whether app users may comment on the item. Not for photo. | |
| thumbnail_as_pin | No | Map place only: true shows the thumbnail of the place as its pin (the thumbnail is a photo block with is_thumbnail). | |
| show_summary_in_list | No | Article only: show the summary in lists. Only when free_blocks is 0. |