Get Telegram Updates
messaging.telegram.get_updatesGet recent incoming messages and events for the bot — new messages, user info, chat type. Use offset to get only new updates since last check (Telegram Bot API)
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": "messaging.telegram.get_updates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of updates to retrieve (default 10, max 100) | |
| offset | No | Update ID offset — pass last update_id + 1 to get only new updates |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |