library_content_update
Update specific fields of an existing library post while leaving omitted fields unchanged, including per-network text, media, comments, and live/expire dates.
Instructions
Change some fields of a library post; fields left out keep their values. library_id is the cd_id, id the post id from library_content_list or library_content_search. A blank content_livedate or content_expiredate clears that date. The per-network options post_content takes (post types, first comments per network, YouTube, TikTok, Google Business and Pinterest fields and more) work here too through call_endpoint on the same endpoint.
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": {
"library_id": "<library_id>",
"id": "<id>"
},
"name": "library_content_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Encrypted library post id from /api/library_content_list. | |
| url | No | Link to share with the post. On a text post the page's title, description and image are fetched and saved as the link preview; when omitted, the first link found in message is used instead. | |
| message | No | New post text; left out, the stored text stays. \r\n is normalised to \n. | |
| alt_text | No | Alternative text per image, in image_url order; a single string applies to the first image. At most 1000 characters each. Saved on the Facebook, Twitter/X, LinkedIn, Pinterest, Threads and Bluesky tabs. | |
| image_url | No | Image URLs, in display order. Send a JSON array (or repeat image_url[] in form encoding); a single string is accepted as a one-item list. At most 20 images. | |
| video_url | No | A public mp4 or mov URL (Google Drive share links are accepted and resolved to the download URL). The file is downloaded and stored on RecurPost storage, so the call takes as long as the download. | |
| bs_message | No | Text for Bluesky accounts when it should differ from message. | |
| fb_message | No | Text for Facebook accounts when it should differ from message. | |
| in_message | No | Text for Instagram accounts when it should differ from message. | |
| library_id | Yes | Encrypted id of the library the post belongs to (active or as a draft), from /api/library_list. | |
| ln_message | No | Text for LinkedIn accounts when it should differ from message. | |
| pi_message | No | Text for Pinterest accounts when it should differ from message. | |
| th_message | No | Text for Threads accounts when it should differ from message. | |
| tk_message | No | Text for TikTok accounts when it should differ from message. | |
| tw_message | No | Text for Twitter/X accounts when it should differ from message. | |
| yt_message | No | Text for YouTube (the video description) accounts when it should differ from message. | |
| gmb_message | No | Text for Google Business accounts when it should differ from message. | |
| workspace_id | No | Workspace to act in (ws_id from workspace_list). Omit to use your default workspace. | |
| first_comment | No | First comment posted right after the post, commonly hashtags. Applied on Facebook Pages, LinkedIn and Instagram feed posts unless a network-specific first comment is given. | |
| content_livedate | No | First day the post may go out, YYYY-MM-DD; kept as a draft until then. A datetime such as 2026-11-01T00:00:00+05:30 keeps its date part (the first ten characters); any other value answers 400. | |
| content_expiredate | No | Last day the post may go out, YYYY-MM-DD; a datetime keeps its date part. Must be on or after content_livedate when both are sent; any other value answers 400. Left out, the stored date stays; blank clears it. |