approve_draft
HUMAN GATE: approve a pending draft and schedule the real post in one step. Only call this when the human operator has reviewed the draft content and told you to approve it, never approve autonomously. Optional edits: replacement segments and/or an explicit future scheduled_for ISO datetime (otherwise the draft's schedule_hint is resolved: "optimal" uses the org's best-times model, fallback +2h). Returns { status: "scheduled", scheduledFor, postId }. Multi-segment twitter drafts publish as a thread. ACCOUNT TARGET: in an org with several connected accounts on the draft's platform, pass account_ids (or create the draft with account_ids); approval never guesses and the scheduler never fans out. CAPABILITY: publish: this can reach a LIVE AUDIENCE. A draft-scoped token gets a 403 here; a human must approve at timetopost.co instead.
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": {
"draft_id": "<draft_id>"
},
"name": "approve_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | Draft id from list_drafts or list_approvals. | |
| segments | No | Optional replacement text, same shape as the draft segments (several on twitter make a thread). Omit to approve the text as submitted. | |
| account_ids | No | Integration id(s) from list_integrations to post to. Required when the org has several connected accounts on the draft's platform and the draft was created without account_ids; an ambiguous approve is refused with the accounts to pick from. | |
| scheduled_for | No | Optional publish time override: future ISO 8601 datetime with timezone. Omit to use the draft schedule_hint. |