io_create_visitor
Pre-register a visitor in iOffice to log their details and expected arrival. Requires user confirmation before any data is written.
Instructions
Pre-register a visitor 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 |
|---|---|---|---|
| No | Visitor email address | ||
| phone | No | Visitor phone number | |
| hostId | No | Host user ID (iOffice user they are visiting) | |
| company | No | Visitor company/organization | |
| purpose | No | Purpose of visit | |
| lastName | Yes | Visitor last name | |
| firstName | Yes | Visitor first name | |
| buildingId | No | Building ID for the visit | |
| 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. | |
| expectedArrival | No | Expected arrival date/time (ISO 8601) | |
| expectedDeparture | No | Expected departure date/time (ISO 8601) |