create_conversation
Start a Nextcloud Talk conversation as one-to-one, group, or public; invite users, apply presets, and get the new chat token.
Instructions
Create a new Talk conversation.
Args: room_type: 1 for a one-to-one conversation, 2 for a group conversation, 3 for a public one. Group conversations are invite-only; public ones can be joined via link. A one-to-one conversation with someone you already have one with returns the existing one. name: Display name for the conversation (ignored for one-to-one). invite: User ID to invite; required for one-to-one, optional for group. description: Optional description for group and public conversations. preset: Optional preset identifier from list_conversation_presets; its settings (permissions, lobby, read-only, ...) are applied to the new conversation. An explicit room_type still wins over the preset's.
Returns: JSON object with the created conversation details, including its token.
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_type": "<room_type>",
"name": "<name>"
},
"name": "create_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| invite | No | ||
| preset | No | ||
| room_type | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |