devto_create_article
Publish or draft blog posts on DEV.to using markdown, with optional tags, series, and metadata. Returns the article link.
Instructions
Create a new article on DEV.to as a draft or published post. Requires DEVTO_API_KEY.
Args: title: Title of the article. body_markdown: Full article body formatted in Markdown. published: True to publish immediately, False to save as a private draft (default False for safety). tags: Optional list of up to 4 tags (e.g. ['python', 'tutorial', 'webdev']). series: Optional series name to group this article under. canonical_url: Optional canonical URL if this article was cross-posted from another blog. description: Optional brief summary/meta description. main_image: Optional URL for cover/hero image.
Returns: Details and link to the created article or draft.
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": {
"title": "<title>",
"body_markdown": "<body_markdown>"
},
"name": "devto_create_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| title | Yes | ||
| series | No | ||
| published | No | ||
| main_image | No | ||
| description | No | ||
| body_markdown | Yes | ||
| canonical_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |