summarize_chat
Summarize recent chat messages by retrieving the last N messages and generating a client-side LLM summary. Optionally pass custom instructions to tailor the summary format.
Instructions
Резюме последних N сообщений чата через LLM-вызов клиента.
Args: chat: id или @username. limit: 1-200 сообщений. instruction: дополнительная инструкция для модели (например, "сделай маркированный список", "выдели action items").
Если клиент не поддерживает sampling — возвращает сырые сообщения и просит юзера резюмировать самому.
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": "<chat>"
},
"name": "summarize_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| limit | No | ||
| instruction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||