Schedule post
schedule_postSchedule a draft to publish at a time on the user’s connected accounts, like clicking Schedule in Distinctful. Use it when the user asks to schedule a post. Scheduling a post again moves it to the new time. Results come back per account; tell the user about any account that failed and why. Once it goes out, the user’s Encore automations run as for any Distinctful post: relays may copy it to their other accounts, and the draft’s tags can choose its Encore reply. Get accountIds from get_connected_accounts and the draft from create_draft or get_calendar.
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": {
"contentCardId": "<contentCardId>",
"accountIds": "<accountIds>",
"idempotencyKey": "<idempotencyKey>",
"scheduledFor": "<scheduledFor>"
},
"name": "schedule_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountIds | Yes | accountId values from get_connected_accounts, one per account the post should go to. | |
| scheduledFor | Yes | ISO 8601 datetime (with timezone) the post goes out at. Must be in the future. | |
| contentCardId | Yes | The draft's content card id (UUID), from create_draft or get_calendar. | |
| idempotencyKey | Yes | Required. A unique key for this publish (for example a UUID). Reuse it when retrying after a timeout or lost response; Distinctful returns the original result instead of posting twice. |