Create Chat Room
ethora-chat-createCreate a new chat room (MUC room) inside an app the caller owns. Every room created this way is listed in the app's rooms (defaultRooms). By default it is an open room every user of the app joins automatically (pinned: true also pins it in their lists). membersOnly: true makes a private room instead: nobody joins it automatically and only people added with ethora-chat-members-add (and invited agents) can enter; that tool is in the rooms group, listed after ethora-tools-enable { group: "rooms" }. Returns the new room object including its JID.
Requires: a selected app (ethora-app-select) or an explicit appId.
Auth: user-auth mode, active session; the caller must own the app. Errors: 401 not logged in; 403 not owner; 404 unknown appId; 422 invalid title (or membersOnly on a server that predates it).
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": {
"title": "<title>"
},
"name": "ethora-chat-create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | 24-char hex ObjectId of the app to create the chat room in. Optional — defaults to the app most recently passed to `ethora-app-select`. | |
| title | Yes | Display name for the new chat room. Visible to all members; not required to be unique within the app. | |
| pinned | No | If `true`, the room is pinned at the top of users' room lists. Whether users join it automatically is decided by `membersOnly`, not by this flag. | |
| membersOnly | No | If `true`, a private members-only room: nobody is added automatically, add people with `ethora-chat-members-add`. If `false` (default), an open room the app's users join automatically. |