Check a draft
drafts_validateCheck a draft against the rules of every network it goes to. Answers valid, and errors as plain sentences that say what to fix. ask, when present, lists what the user has not chosen yet and what happens if they do not (a YouTube video’s visibility): ask them, then set it with drafts_edit. Changes nothing. publish and schedule run the same check and refuse a draft that fails it. A TikTok post is not valid until the owner has made TikTok’s choices on the TikTok screen; choose lists the link to that screen for each TikTok account still waiting. Give the user the link; do not try to choose for them.
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": {
"id": "<id>",
"version": "<version>"
},
"name": "drafts_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The draft id. | |
| 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. | |
| version | Yes | The draft’s version as you last read it. A different number is refused, so nothing goes out with content the user did not see. |