Create post (draft)
create_content_postCreate a social post as a DRAFT — nothing is published. Give it a working title, the main text, optional hashtags, the channels (each may carry its own text), and images: public https image links (Obriym stores its own copy), files the person attached in ChatGPT (the files field, filled by ChatGPT), links returned by create_image_upload for local files, and/or a catalog product whose photos are attached and whose sell-out later marks the live Telegram and Threads post as sold. Each channel's text, with hashtags, must fit that channel's limit (list_content_channels). Returns the post id and warnings — a channel that is not ready, Instagram without an image — to relay to the person. Not idempotent: each call creates a new draft. Then use schedule_content_post or publish_content_post. Echoes the workspace.
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": {
"channels": "<channels>",
"title": "<title>"
},
"name": "create_content_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The post's main text, in the language the audience reads. Plain text: no markdown, links are written out in full. Never invent a price, discount, stock level or date — state only facts the user or the CRM gave you. | |
| files | No | Image files the person attached in ChatGPT. ChatGPT fills this field itself; any other client leaves it out and passes image links instead (or uploads files with create_image_upload). | |
| title | Yes | An internal working title shown in Obriym's Publications list, e.g. "Monday — new arrivals". Never published. | |
| format | No | post = a regular feed post; story = an Instagram/Facebook story, which needs an image. Defaults to post. | post |
| channels | Yes | Where the post goes — one entry per channel, each at most once. Every channel publishes the main text unless its entry carries its own text. | |
| hashtags | No | Hashtags without the "#" sign, at most 30. They are appended to every channel's text as their own line. | |
| imageUrls | No | Images to attach, as public https links to JPEG, PNG or WebP files of at most 2 MB each. Obriym downloads and keeps its own copy, so the link only has to work now. Threads accepts JPEG and PNG only. | |
| productId | No | A catalog product this post advertises (id from search_products). Links the post to the product, so when it sells out Obriym marks the live Telegram and Threads post as sold, and lets productPhotos attach the product's photos. | |
| productPhotos | No | With productId: attach the product's own photos after any imageUrls, up to 10 images in total. Set false to post without them. |