create_post
Publish a post to your Medium profile by providing title, content in HTML or Markdown, optional tags, and choosing publish status. Optionally set canonical URL, notify followers, or select a license.
Instructions
Create a post on the authenticated user's Medium profile
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": {
"author_id": "<author_id>",
"title": "<title>",
"content_format": "<content_format>",
"content": "<content>"
},
"name": "create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags to classify the post (max 3, max 25 chars each) | |
| title | Yes | The title of the post (max 100 chars for SEO, must also be in content body) | |
| content | Yes | The body of the post in HTML or Markdown format | |
| license | No | License for the post | |
| author_id | Yes | The author's user ID (from get_profile) | |
| canonical_url | No | Original home of this content if published elsewhere | |
| content_format | Yes | Format of the content: 'html' or 'markdown' | |
| publish_status | No | Publish status: 'public', 'draft', or 'unlisted' | |
| notify_followers | No | Whether to notify followers of the publication |