search_inbox
Search an employee's mailbox for relevant emails by subject, body, sender, or attachment name and return matching summaries to review expense claims and identify items for claim checks.
Instructions
Search an employee's mailbox (mail to or from them). Ranked OR search over subject, body, sender and attachment names; returns the top 5 as summaries (id, subject, snippet, attachments). Pass promising IDs to check_claim; it reports IDs that match no item as no_matching_item.
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": {
"employee_id": "<employee_id>"
},
"name": "search_inbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| employee_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |