Publish article
publish-articlePublish an article. Auto-routes to a connected CMS integration when exactly one is connected for the article's domain. With several connected, target_provider picks one. With none, deployed_url records where the article was deployed by hand. The local status becomes "published" unless wp_status is draft; the publish date is set on the first publish and kept after that. A new WordPress post takes the article's slug. featured_image_url sets the WordPress featured image; if it cannot be used, the post still publishes and featuredImage says why. Confirm with the user first.
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": {
"article_id": "<article_id>"
},
"name": "publish-article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wp_status | No | When publishing to WordPress, whether the WP post should be live ("publish") or saved as a draft ("draft"). | publish |
| article_id | Yes | Article ID from list-articles | |
| deployed_url | No | Required when no CMS integration is connected. The public URL where the article was deployed manually. | |
| target_provider | No | Required when multiple CMS integrations are connected for the article's domain. | |
| featured_image_url | No | Public https URL of a JPEG, PNG, WebP or GIF image (up to 10 MB) to upload to WordPress as the featured image. Ignored for a manual publish. |