publish
Publish a markdown article to Dev.to, Ghost, Hashnode, WordPress, Medium, or Substack. Choose draft or published status, add tags, canonical URL, series, and cover image. Requires platform credentials configured via the setup tool.
Instructions
Publish a markdown article to one CMS platform: devto, ghost, hashnode, wordpress, medium, or substack. Costs 1 credit per call. Requires platform credentials configured via the 'setup' tool. Supports draft|published status, tags, canonical_url, series, and cover image. Substack is published via reverse-engineered cookie auth. Returns: { url, id, platform, status }. Common errors: platform not configured (VALIDATION_ERROR), credit exhaustion (PAYMENT_REQUIRED), upstream 4xx/5xx (PLATFORM_ERROR), network timeout (NETWORK_ERROR).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Publishing platform: devto, ghost, hashnode, wordpress, medium, substack | |
| title | Yes | Article title | |
| content | Yes | Article content in markdown | |
| subtitle | No | Subtitle / dek (used by Substack) | |
| tags | No | Tags for the article | |
| status | No | Publish status | draft |
| featured_image_url | No | Featured image URL | |
| canonical_url | No | Canonical URL for cross-posting | |
| series | No | Series name (supported on Dev.to and Hashnode) |