Get Chat History
get_chat_historyRetrieve recent WhatsApp messages for a specified chat, sorted newest first. Set a higher count parameter to view more history.
Instructions
Последние сообщения чата, новые первыми.
Основной инструмент чтения переписки. Постраничного обхода у GREEN-API нет — можно только увеличить count (по умолчанию у шлюза 100).
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": {
"chat_id": "<chat_id>"
},
"name": "get_chat_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| chat_id | Yes |