publish_blog_to_devto
Publish blog posts directly to Dev.to with title, Markdown content, tags, and publish options. Supports drafts, series, canonical URLs, and cover images.
Instructions
Publishes a blog post to dev.to.
Args: title (str): The title of the blog post. body_markdown (str): The content of the blog post in Markdown format. tags (Optional[List[str]]): A list of tags for the blog post (e.g., ["python", "webdev"]). published (bool): Set to True to publish immediately, False to save as a draft. series (Optional[str]): The name of the series this article belongs to. canonical_url (Optional[str]): The canonical URL of the article if it's cross-posted. cover_image (Optional[str]): URL of the cover image for the article.
Returns: str: A message indicating the success or failure of the publishing operation, including the article URL if successful.
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": "publish_blog_to_devto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| title | Yes | ||
| series | No | ||
| published | No | ||
| cover_image | No | ||
| body_markdown | Yes | ||
| canonical_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |