get_context
Retrieve surrounding messages to understand the conversation thread. Use this after finding a message to get its context.
Instructions
Контекст вокруг сообщения: N соседних сообщений до и после (radius, по умолч. 5). Используй после search_messages, чтобы понять нить разговора.
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>",
"message_id": "<message_id>"
},
"name": "get_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radius | No | ||
| chat_id | Yes | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |