Schedule Drafts at Planned Times
aidelly_schedule_draftsSchedule up to 25 of your drafts as real posts, one per selected platform, each at its draft_planned_for time (or an overrides entry). Drafts with a missing, past or under-5-minutes time are skipped and reported, never published now; so are drafts already scheduled, in approval, rejected or queued. Run dry_run first and confirm the times, platforms and accounts with the user; the real run needs a NEW idempotency_key. Change times via overrides only. When the workspace requires approval the posts are held, and a held post whose time has passed publishes when approved. At most 50 posts per call. The whole call is refused up front, before anything is written, if it would exceed the daily scheduling limit or an X plan cap; an X API budget refusal is reported per draft instead (status failed).
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": {
"idempotency_key": "<idempotency_key>",
"draft_ids": "<draft_ids>"
},
"name": "aidelly_schedule_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional body override for endpoints with sparse parameter schemas. | |
| query | No | Optional query overrides for endpoints with sparse parameter schemas. | |
| dry_run | No | Report what would be scheduled without writing anything. | |
| accounts | No | The account to post to per platform (account_id from aidelly_list_social_connections). Platforms left out use the workspace default account. | |
| brand_id | No | ||
| draft_ids | Yes | Ids of your open drafts to schedule (from aidelly_list_drafts / GET /drafts). Max 25, no repeats. | |
| overrides | No | Per-draft times that replace draft_planned_for. Each draft_id must also be in draft_ids. The draft itself is not edited. | |
| workspace_id | No | Workspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content. | |
| idempotency_key | Yes |