Republish a blog post on dev.to
post_to_devtoRepublishes a blog post on dev.to with its canonical URL pointing to the original page, so search engines credit your own site. Accepts a source URL or Markdown title and body.
Instructions
Republish a blog post on dev.to (DEV Community) with its CANONICAL URL pointing at the original, so search engines credit the brand's own page. Free, no credits. Give EITHER sourceUrl (the original post: Hermoso reads the page, turns the article into Markdown with its images, and uses the page's own canonical URL) OR title + text in Markdown. A line linking back to the original is added unless footer:false. A post whose canonical URL is already on the account is refused, never posted twice (allowDuplicate:true overrides). dev.to takes up to 4 tags (lowercase letters and digits) and titles up to 128 characters. Not connected: the user connects it under Connectors > dev.to, or you call connect_connector with provider devto (apiKey).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "post_to_devto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hook | No | the post's angle — a list_hooks id or your own wording, reused exactly | |
| tags | No | tags; read off the title when omitted | |
| text | No | the body in Markdown (taken from the page when sourceUrl is given) | |
| brand | No | WHICH PROFILE this post belongs to, for THIS CALL ONLY (beats the connection’s pin): an id or exact name from list_brands. A name that matches no profile, or two, is REFUSED and nothing is posted. | |
| title | No | the title (taken from the page when sourceUrl is given) | |
| footer | No | false leaves out the “Originally published at …” line | |
| ideaId | No | short id of the content-plan idea this post came from | |
| recipe | No | the post's FORMAT id, e.g. "slideshow" or "imessage_chat" — post_performance groups by it, so reuse one id per format | |
| series | No | a dev.to series name | |
| subject | No | what the post is about | |
| published | No | false saves a draft; default true | |
| sourceUrl | No | the original post to republish: its article, images and canonical URL are read from the page | |
| description | No | the summary / subtitle | |
| aiDisclosure | No | dev.to’s AI-use label for the post | |
| canonicalUrl | No | the original post’s address; defaults to the page’s own canonical URL | |
| coverImageUrl | No | the cover image; defaults to the page’s share image | |
| allowDuplicate | No | post it even though an identical post was just made | |
| idempotencyKey | No | any stable string: a repeat within 24h returns the original post instead of posting again |