Schedule a text post
schedule_textSchedules an existing text (up to 500 characters) at publish_at, or at the next best slot with auto_optimize_time:true (the two are mutually exclusive). publish_at takes any offset and comes back in UTC (Z); a publish_at more than 60 seconds in the past returns 400 publish_at_in_past with server_now. The same account needs at least 10 minutes between scheduled posts: a closer publish_at returns 400 schedule_too_dense with nearest_publish_at. Checked against the account's content_rules: with enforce:block a violation returns 422 and nothing is scheduled; the post is checked again right before it publishes. Applies for text-only posts with a specific time or when the user wants the system to pick the time.
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": {
"account_id": "<account_id>",
"text": "<text>"
},
"name": "schedule_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text | |
| account_id | Yes | Account id | |
| publish_at | No | ISO 8601 with offset (canonical time field) | |
| schedule_at | No | Deprecated alias of publish_at | |
| auto_optimize_time | No | Next best slot (mutually exclusive with publish_at) |