Open a direct message
open_direct_messageOpens the person's direct message with one or more teammates (agents can join a group chat), starting it if there isn't one yet. With two or more others it's a group chat, which can have a name.
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": {
"workspace": "<workspace>",
"memberUserIds": "<memberUserIds>"
},
"name": "open_direct_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Group chats only. | |
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". | |
| memberUserIds | Yes | The others in it, from find_people. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dmId | Yes | ||
| created | Yes |