memory_invite_to_room
Invite someone to a room you own by minting a single-use invite code and a ready-to-forward message; set max uses or expiry to admit multiple people.
Instructions
Mint an invite for a room you own and get a ready-to-forward message. An invite is single-use by default; pass max_uses to let several people join with the same one. The user sends that message to the person they want to add (any messenger); the recipient opens the link or tells THEIR assistant the code to join. Use when the user asks to invite someone to a room they own, including one just created with memory_create_room.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Role the invitee gets — 'read' or 'read_write' (default read_write). | |
| room_id | Yes | The room's id (room_...), from memory_create_room. | |
| max_uses | No | How many people may join with this invite (default 1, single-use). | |
| expires_in_days | No | Days until the invite expires (default 7). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The invite code (mnvr_...). Single-use by default, with a configurable use limit. Shown once. | |
| scope | No | Role the invitee will get. | |
| join_url | No | Landing URL the invitee can open to join. | |
| expires_at | No | ISO 8601 expiry, or null. | |
| room_address | No | The room's domain address (xroom:<id>). | |
| share_message | Yes | Ready-to-forward invite text. |