publish_post
Publish a Medium story in markdown. Defaults to draft to avoid accidental publication; set publish_status to public or unlisted to publish. Supports tags, canonical URL, and dry-run.
Instructions
WRITE. Publish a story. content_format is markdown. Defaults to publish_status='draft' so nothing goes public by accident; set to 'public' or 'unlisted' to flip it. Uses the integration token and api.medium.com/v1/*. Dry-run by default.
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>",
"content_markdown": "<content_markdown>"
},
"name": "publish_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| content_markdown | Yes | ||
| tags | No | ||
| publication_id | No | ||
| publish_status | No | draft | |
| canonical_url | No | ||
| notify_followers | No | ||
| dry_run | No |