io_list_mail
List iOffice mail packages and letters with filtering by recipient, sender, status, building, and date range plus sorting and pagination. Retrieve compact, full, or brief mail records.
Instructions
List iOffice mail items (packages and letters). Supports filtering and pagination.
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": "io_list_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Response shape. compact strips image/avatar URLs from the response; "full" returns iOffice's payload untouched. No field projection: this server has no verified record of which iOffice fields matter, and inventing one would risk dropping a field a caller needs. "brief" returns one line per item — title — <ISO date or "no date"> — <status> — with "-- " note lines for an empty or partial page. | |
| limit | No | Max results (default 50, max 100) | |
| search | No | Filter by recipient name, tracking number, or sender | |
| status | No | Filter by status (e.g. received, delivered, returned) | |
| endDate | No | Filter mail received on or before this date (ISO 8601) | |
| orderBy | No | Property to sort by (default: id) | |
| startAt | No | Pagination offset (default 0) | |
| startDate | No | Filter mail received on or after this date (ISO 8601) | |
| buildingId | No | Filter by building ID | |
| orderByType | No | Sort direction (default: asc) | |
| recipientId | No | Filter by recipient user ID |