publish_post
Publish a Markdown post to WriteFreely, anonymously or to a specific collection with an optional title.
Instructions
Create and publish a new post on WriteFreely.
Supports anonymous posts or publishing to a specific collection/blog.
Args:
content: The main body of the post (Markdown supported)
title: Optional post title
access_token: Access token from login() or WRITEFREELY_ACCESS_TOKEN env var
Leave empty for anonymous publishing or to use env var token
collection: Optional blog/collection alias to publish into
(only works with access_token)
Returns:
Success message with post URL or error
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 |
|---|---|---|---|
| content | Yes | ||
| title | No | ||
| access_token | No | ||
| collection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |