Create a Dev.to article
devto_create_articleCreate a new Dev.to article, either as a public post or a private draft, with options for tags, series, cover image, and canonical URL.
Instructions
Create a new article, either as a public post or a private 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>",
"bodyMarkdown": "<bodyMarkdown>"
},
"name": "devto_create_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| title | Yes | ||
| series | No | Series name, to group this with other articles. | |
| mainImage | No | Cover image URL. | |
| published | No | true = publish immediately, false = save as a draft. | |
| description | No | ||
| bodyMarkdown | Yes | Article body in Markdown. May include YAML front matter. | |
| canonicalUrl | No |