Post a story
send_storyPublish a photo or video story to a chosen Telegram peer. Provide a local file path or URL, with optional caption, visibility, and lifetime settings.
Instructions
Publish a story (photo or video) on the chosen peer. Visibility defaults to "everyone".
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": {
"path": "<path>"
},
"name": "send_story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Local path or URL to the image/video | |
| peer | No | me | |
| period | No | Lifetime seconds; default 86400 (24h) | |
| pinned | No | ||
| caption | No | ||
| accountId | No | ||
| noForwards | No |