Dm Channel For User
dm_channel_for_userFind the 1:1 DM channel ID for a given user ID, returning null when none exists. Resolve the direct message channel to enable sending messages or checking channel details.
Instructions
Find (or None if none exists yet) the 1:1 DM channel_id for a given user_id.
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": {
"user_id": "<user_id>"
},
"name": "dm_channel_for_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |