search_inbound_items
List and search inbound mail through GET /v1/inbound-items, the same list and search the dashboard shows: newest first, with public status, kind (letter | package), the sender line as read from the envelope, the envelope page and any open action. q is a literal AND search (max 12 terms, 200 characters) over the reference, the sender and the OCR text of every readable page, envelope or contents; status, kind, received_after and received_before (intake time) narrow it. Sandbox keys (sk_agent_test_) see the account's sample letter from Mojave Land Partners (q: "Mojave" finds it); an empty result carries a notice explaining why. Key scope: inbound.item.read (agent.inbox.read also works). Member keys read their own live items; agent keys read items bound or assigned to them, in their key's environment. Proposals are agent-only and always wait for the owner: they never charge credits, buy postage, open, forward or discard anything by themselves. Forward destinations and discard proposals are checked against the agent's structured inbound policy. Image URLs are never issued to agents.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_inbound_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Literal AND search: matches items where every term (max 12, 200 characters, NFKC-normalized and lowercased) appears in the reference, the sender line or the OCR text of a readable page. Not fuzzy; punctuation is literal. | |
| kind | No | letter or package. | |
| limit | No | Page size, 1–50 (default 25). | |
| offset | No | Items to skip, 0–10000 (default 0). The next page starts at offset plus the number returned; results are a current view, not a snapshot. | |
| status | No | Only items in this public status. | |
| received_after | No | Inclusive intake time (ISO 8601 with offset): when the facility logged the item, not a printed date. | |
| received_before | No | Exclusive intake time (ISO 8601 with offset); later than received_after. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |