draft_schedule
Schedules an existing draft for publication at a specified date and time, converting it into a queued post while retaining its draft id as the post id.
Instructions
Schedule a draft at schedule_date_time (YYYY-MM-DD HH:MM:SS in each account's timezone, or ISO 8601 with an offset). The draft keeps its id, which then serves as the post id.
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>",
"schedule_date_time": "<schedule_date_time>"
},
"name": "draft_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | Encrypted draft id from /api/draft_save or /api/draft_list. | |
| workspace_id | No | Workspace to act in (ws_id from workspace_list). Omit to use your default workspace. | |
| schedule_date_time | Yes | Publish time. YYYY-MM-DD HH:MM:SS (also with T, seconds optional) is wall-clock time in each account's timezone; a value with an offset or Z is one exact moment. |