Update a draft
update_a_draftModify a draft's caption, media, or target accounts without publishing. Only specified fields change, and media and account lists replace existing selections.
Instructions
Change a draft's caption, media or target accounts. Only the fields you pass change; mediaUrls and selectedAccountIds replace the current lists. Nothing is posted.
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>"
},
"name": "update_a_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| caption | No | ||
| mediaUrls | No | ||
| selectedAccountIds | No |