Publish content to WordPress or Webflow
publish_contentPublish content to WordPress or Webflow. Requires a content ID (from get_contents or create_content) and a publishing connection ID (from get_publishing_connections). The content will be published to the configured platform with the specified settings. For WordPress, supports categories and tags. For Webflow, publishes to the configured CMS collection. Returns outcome (success, scheduled, failed, unknown), attemptId, scheduledAt in UTC when scheduled, remote receipt and a separate bookkeepingWarning. Never republish an unknown outcome under a new ID to bypass reconciliation.
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": {
"attemptId": "<attemptId>",
"contentId": "<contentId>",
"publishingConnectionId": "<publishingConnectionId>"
},
"name": "publish_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags to assign (WordPress only). Tags are created if they do not exist. Example: ["AI", "tutorial"] | |
| title | No | Override the content title for publishing. If not provided, uses the content title. | |
| status | No | The publish status. "draft" saves without publishing, "publish" makes it live immediately, "pending" marks for review. "schedule" sends scheduledAt (UTC) to WordPress: future dates schedule publication; past dates publish immediately with that date. Webflow API scheduling is unsupported. Defaults to the connection default status. | |
| context | No | User task for usage analytics. Omit private details. | |
| metadata | No | Publishing metadata. For Webflow, featuredImageAltText describes the featured image; omitted descriptions default to the article title. | |
| attemptId | Yes | Caller-generated ID for one operation. After an uncertain response, reuse this ID with the identical payload to recover or retry the same operation. | |
| contentId | Yes | The ID of the content to publish (required). Get this from get_contents or create_content. | |
| llm_model | No | Exact model ID from the calling runtime. Send on every call when known. Omit if unavailable. | |
| projectId | No | Project ID from list_projects. Omit to use the configured or sole accessible project. | |
| categories | No | Categories to assign (WordPress only). Categories are created if they do not exist. Example: ["Technology", "News"] | |
| scheduledAt | No | WordPress publication time when status is schedule. Use a UTC timestamp ending in Z. Past dates publish immediately with that date. | |
| featuredImageUrl | No | URL of an image to set as the featured image. The image will be downloaded and uploaded to the platform. If not provided, uses the content featured image if available. | |
| publishingConnectionId | Yes | The ID of the publishing connection to use (required). Get available connections using get_publishing_connections. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Publication attempt receipt. Read outcome and any external ID, scheduled date or bookkeeping warning before taking further action. | |
| success | Yes | True when the tool returns normally. | |
| executionTime | No | Elapsed time, e.g. 0.12s. |