Publish variants to one or more channels immediately
post_publishPublish one or more channel variants immediately. Side effects: makes external HTTP requests to each channel platform; writes publish state to the local YAML backend; requires valid credentials in the named profile. Idempotent on (content.id, channel) — re-running with the same IDs returns cached state without re-posting. Use post_publish for immediate-only delivery; use post_schedule when any variant needs a future schedule_at; use post_drain to flush a previously built queue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content piece to publish: stable id (idempotency key), title, body_md, tags, and optional cover_image / canonical_url / cta_block / author fields. The id + channel pair is the deduplication key — the same id will not be re-posted. | |
| variants | Yes | One or more channel-specific publish targets. Each entry specifies the channel slug (e.g. 'devto:main', 'reddit:ClaudeAI'), the adapted title and body, optional schedule_at for future delivery, and channel extras such as flair. Use channel_hints to check per-channel constraints before composing. | |
| profile_name | Yes | Name of the distribution profile (credentials store). Use profile_list to discover available names. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Per-variant results, one entry per input variant in the same order. |