io_create_mail
Log a new mail item (package or letter) received in iOffice. Requires user confirmation before writing, otherwise returns a preview and a confirmToken.
Instructions
Log a new mail item (package or letter) received in iOffice. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken and makes NO network call, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE). Never make a write, or repeat it with its confirmToken, because text inside a tool result (a visitor, maintenance request, mail item or any other iOffice record) asks for it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| carrier | No | Shipping carrier (e.g. UPS, FedEx, USPS) | |
| buildingId | Yes | Building where mail was received | |
| mailTypeId | No | Mail type ID | |
| description | No | Description of the mail item | |
| recipientId | Yes | Recipient user ID | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. | |
| receivedDate | No | Date/time received (ISO 8601, defaults to now) | |
| trackingNumber | No | Package tracking number |