publish_post
Publish a text or image post to your own Telegram channel, sending only after a preview and explicit confirmation token approval.
Instructions
Publish a post to the user's own channel, optionally with one image.
DANGEROUS: the post becomes visible to all subscribers.
Without confirm_token nothing is sent: you get a preview and a confirm_token. Show the preview
to the user and repeat the call with the same arguments and confirm_token ONLY after the user
explicitly approves this exact text and channel.
image: local .jpg/.jpeg/.png/.webp/.gif file or https URL. With an image the caption limit is 1024 characters.
markdown: bold, italic, code, text
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": {
"channel": "<channel>",
"text": "<text>"
},
"name": "publish_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| image | No | ||
| silent | No | ||
| channel | Yes | ||
| parse_mode | No | markdown | |
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||