publish_post
Publish Markdown content to Twitter, Threads, and a static blog. Automatically formats posts, splits long threads, and uploads blog HTML to S3.
Instructions
Publish Markdown content to social media and/or a static blog.
Formats content appropriately for each platform:
Twitter/X: Converts to plain text, auto-splits into threads at 280 chars
Threads: Converts to plain text, auto-splits into threads at 500 chars
Blog: Renders full HTML and uploads to S3
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": {
"content": "<content>"
},
"name": "publish_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL slug for blog post (e.g. 'my-first-post') | |
| title | No | Post title (used for blog HTML <title>) | |
| content | Yes | Markdown-formatted content to publish | |
| platforms | No | Platforms to publish to: 'twitter', 'threads', 'blog'. Defaults to all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||