create-conversation
Start a direct or group conversation with selected users and post an initial message, reusing an existing conversation for the same set of users to avoid duplicates.
Instructions
Start a direct or group conversation with one or more users and post an initial message. Reuses the existing conversation if one already exists for the same set of users.
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": {
"workspaceId": "<workspaceId>",
"recipients": "<recipients>",
"content": "<content>"
},
"name": "create-conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The content of the first message to post. | |
| recipients | Yes | User IDs to include in the direct or group conversation (excluding yourself, who is added automatically). Use get-users to resolve names to IDs. | |
| workspaceId | Yes | The ID of the workspace the conversation belongs to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| content | Yes | ||
| created | Yes | ||
| success | Yes | ||
| messageId | Yes | ||
| messageUrl | Yes | ||
| recipients | Yes | ||
| workspaceId | Yes | ||
| participants | Yes | ||
| conversationId | Yes | ||
| conversationUrl | Yes |