search_messages
Literal substring search over subject and headers in granted inboxes
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 | ||
| query | Yes | Substring to match (no quoting, no regex) | |
| inboxId | No | Restrict to one inbox; omit to search the first accessible inbox (M1 default) |