search_messages
Search for messages by text globally or within a specific chat, with options to filter by user and set a result limit.
Instructions
Поиск сообщений по тексту глобально или в чате.
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": {
"query": "<query>"
},
"name": "search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | ||
| limit | No | ||
| query | Yes | ||
| from_user | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |