Archive a Postlyra post
archive_postUse when the author asks to archive a post and cancel its pending publications. Already delivered Telegram messages stay available. Restore later with restore_post.
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": {
"postId": "<postId>"
},
"name": "archive_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | Owner-bound postId from search_posts/search_post_drafts/create_post_draft. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| message | Yes |