memory_invite_to_room
Generate an invite for a room you own and a ready-to-forward message so others can join by link or code. Default single-use; set max uses or expiry to control access.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"room_id": "<room_id>"
},
"name": "memory_invite_to_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. |