Keep a post until its account is connected
drafts_holdKeep a post for a network the user has not connected yet, with its pictures, so it is not lost with the conversation. It shows on their account page next to that network’s Connect button, and becomes a draft by itself, for the new account, when they connect it. Use it only while accounts_list has no connected account for that network; otherwise write a draft with drafts_create. Up to 10 posts can wait. Answers the kept post and every post now waiting.
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": {
"network": "<network>",
"text": "<text>"
},
"name": "drafts_hold"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | A waiting post from an earlier drafts_hold, to replace its words. Leave it out to keep a new post. | |
| text | Yes | The post, up to 20000 characters and within what that network takes (post_check says). | |
| title | No | A short name for it, up to 200 characters. Left out, its first line is used. | |
| brandId | No | The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out. | |
| network | Yes | The network it is for, by its key in capabilities, such as "facebook". It must have no connected account yet. | |
| topicId | No | The topic it was written for, from topics_add. The draft is tied to that topic when the post becomes one. | |
| mediaIds | No | The pictures or videos that go with it, by their ids (from templates_render, media_upload or media_from_url), within what that network takes. They are kept while the post waits and go into the draft with it. |