channel_search
Search messages in a specific channel or thread with filters for text, date, author, or content type. Returns newest results first.
Instructions
Search one channel's or thread's messages, newest first
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": {
"channel_id": "<channel_id>"
},
"name": "channel_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| has | No | Only messages with this kind of content: file, image, video, link, embed, sound, or sticker | |
| after | No | Only messages after this date, YYYY-MM-DD | |
| limit | No | Messages to return, at most 500 | |
| before | No | Only messages before this date, YYYY-MM-DD | |
| content | No | Text to search for | |
| author_id | No | Only messages by this user id; `find_member` resolves a name to an id | |
| channel_id | Yes | Channel or thread id |