Publish a post now
publish_postUse this only when the person asked to publish now, or to send again what failed: every target that is not live goes out now. Not for a later time: create_post or update_post schedule it. Follow each target with get_post until it is published or failed; list_events with the post's id says why one failed. A target that is unknown may have gone out: check the account before you publish again.
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": {
"id": "<id>"
},
"name": "publish_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The post's id (`post_`). | |
| idempotencyKey | No | Optional. A new unique string for each new action, such as a UUID. When a call timed out or failed and you send it again, send the same key: for 24 hours the same call gets the first one's answer instead of doing it twice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| text | No | ||
| chain | No | ||
| media | No | ||
| fields | No | ||
| queued | No | ||
| status | No | ||
| metrics | No | ||
| targets | No | ||
| createdAt | No | ||
| createdBy | No | ||
| deletedAt | No | ||
| profileId | No | ||
| updatedAt | No | ||
| publishedAt | No | ||
| scheduledAt | No | ||
| sharedUntil | No |