Search messages
search_messagesSearch the text of every message across every thread. Each hit carries who it was with and a short excerpt around the match, so you can answer "when did they first mention the boiler?" without reading whole conversations into context.
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 |
|---|---|---|---|
| limit | No | Maximum rows to return (1-200, default 50). | |
| query | Yes | What to look for. | |
| since | No | Only messages after this ISO timestamp. | |
| offset | No | Rows to skip, for paging. | |
| chat_type | No | Narrow to one kind of thread. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why the result was truncated, when it was. | |
| count | Yes | How many rows are in `results`. | |
| results | Yes | The rows. | |
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| total_available | No | How many rows existed before truncation. |