Create room invite
create_inviteCreate a named room and generate a short invite code valid for 5 minutes. Share the code so a friend can redeem it and join your encrypted peer-to-peer session.
Instructions
Create (or reuse) a named room and generate a short single-use invite code (like X7KQ-2MPF-3HV9) valid for 5 minutes. Codes are independent: several can be pending for the same room at once, and an expired code is replaced by just creating a new one. Share the code with a friend over any channel; when they redeem it with join_room, both sessions are peered directly over an end-to-end encrypted P2P connection. Rooms are scoped to this project directory. Keep this session open until they join.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room_name | Yes | Name for the room, e.g. "auth-refactor" |