Get Telegram Message
tg_get_messageFetch one stored Telegram message by its id or cursor — the one a webhook announced, say. For a WhatsApp message use wa_get_message.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tg_get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | the message's cursor, as tg_list_messages returned it (a webhook delivery carries it as message_seq). Pass this or message_id | |
| account_id | No | the Telegram account the message belongs to, from wa_list_accounts; omit it when the workspace has only one Telegram account | |
| message_id | No | the message's Telegram id — the message_id a webhook delivery, tg_list_messages or tg_send_message gave you. Pass this or cursor | |
| include_media_urls | No | also return attachment.media_url when the message carries an available attachment — a time-limited (1h) signed URL to GET the bytes with plain HTTP instead of a tg_get_media call; off by default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | the message; absent when the request was declined | |
| refusal | No | present only when the request was declined — including when no such message is stored | |
| account_notices | No | present when a number this read covers is not working: new messages are not arriving on it; says why and what to do |