Create conversation
create_conversationCreate a Chat API conversation with its members, or replace the name, metadata and members of the one with that ID. Members get a chat.conversation event on their #server-to-user-<user_id> channel (clients call pusher.signin to receive it). Up to 100 members. The Chat API is in beta: the account needs it turned on (see https://hibira.io/chat-api).
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": {
"app_id": "<app_id>",
"conversation_id": "<conversation_id>"
},
"name": "create_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A display name, such as "Order #1042" (at most 100 characters). | |
| app_id | Yes | The app's ID (app_...), from list_apps. | |
| members | No | The user IDs of the members (the full list; leave out to keep an existing conversation's members). | |
| metadata | No | Your own JSON object, at most 4,096 bytes, such as {"kind": "support"}. | |
| conversation_id | Yes | The conversation's ID, chosen by you: 1 to 128 of A-Z a-z 0-9 _ - = @ , . ; such as order-1042 or dm-ann-bob. |