Search the sample inbox
searchSearch the sample inbox by sender, subject or body. Every word in the query must appear in a message. Returns matches most relevant and newest first, each saying where it matched. Read-only.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max hits to return (default 10). | |
| query | Yes | Words to find, matched against from / subject / body. Every word must appear somewhere in a message. |