read_post
Retrieve the content of an existing post by its ID. Supports public posts and private drafts with an access token.
Instructions
Retrieve the content of an existing post by its ID.
Args:
post_id: The ID of the post (or slug for public posts)
access_token: Optional - needed only for private/draft posts
Can also use WRITEFREELY_ACCESS_TOKEN env var
Returns:
Post title + body (or error message)
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>"
},
"name": "read_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ||
| access_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |