devto_create_article
Create a Dev.to/Forem article, saving as a draft unless published is explicitly set to true. Accepts markdown body, tags, cover image, series, and more.
Instructions
Create an article. Creates a DRAFT unless you explicitly pass published: true — publishing is a real, immediate, public action and should be a decision rather than a default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Up to four tags. Forem silently drops extras, so this refuses a fifth instead. | |
| title | Yes | The article title. | |
| series | No | Series name; the same string groups articles. | |
| published | No | false creates a draft. true publishes it immediately and publicly. | |
| main_image | No | Cover image. Must be a PUBLICLY REACHABLE URL - Forem fetches it server-side, so a local file path will not work. | |
| description | No | The preview snippet shown in feeds and social cards. Omit it and Forem derives one from the opening of the body, which is usually a truncated first sentence. | |
| body_markdown | Yes | The article body, in Forem-flavoured markdown. | |
| canonical_url | No | Original URL when cross-posting from elsewhere. | |
| organization_id | No | Publish under an organisation you belong to. |