Send CMS Preview
send_cms_previewSaves a blog, FAQ or competitor post that is not yet approved (draft, changes requested, or in review) to its website CMS as a draft, so a reviewer can open it on the customer's own site before approving. Sends the post's current saved content. Always a draft, even when the connection publishes live, and nothing goes live. Sending again updates the same CMS document; approving later updates it too. Refused, with the reason, for an approved, scheduled or published post, a channel with no CMS mapping, or a collection without drafts. Refused as a conflict when the CMS page changed since Mark last sent it; choose overwrite or keep with resolve_cms_conflict. Refused when another page in the CMS uses the post's slug: the error names each page (CMS id, title, its latest draft when it differs, live or draft, edit link, and the Mark post that owns it, if any) and says which ids useCmsPageId accepts. Then either change the slug with save_post, or call again with useCmsPageId to send into that page. Does not approve or change the post's status. Related: get_post (website.previewUrl, previewSentAt), save_post, approve_posts.
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": {
"postId": "<postId>"
},
"name": "send_cms_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | The website post to preview. | |
| useCmsPageId | No | Send into this existing CMS page instead: a page id a refusal listed as one useCmsPageId accepts (not live, and no other Mark post owns it). Replaces that page's content with this post. It stays a draft, and from then on it is this post's page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| sentAt | Yes | ||
| previewUrl | Yes |