edit_post
Update an existing post's content and title on WriteFreely using post ID and new content. Optionally provide a new title.
Instructions
Update an existing post's content and/or title.
Args:
post_id: The ID of the post to update
content: The new body content for the post (Markdown supported)
title: Optional new title (leave None to keep existing title)
access_token: Access token from login() or WRITEFREELY_ACCESS_TOKEN env var
(optional if token is set via env var)
edit_token: Edit token for anonymous posts (from publish_post response)
Returns:
Success message with updated 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": {
"post_id": "<post_id>",
"content": "<content>"
},
"name": "edit_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ||
| content | Yes | ||
| title | No | ||
| access_token | No | ||
| edit_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |