send_dm
Send direct messages to specific Slack users using their user ID and formatted text. Enables targeted communication within Slack workspaces.
Instructions
Send a direct message to a user.
Args:
user_id: The ID of the user to message (e.g., "U01234567")
text: The message text to send (supports Slack markdown)
Returns:
Dictionary containing the sent message details
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>",
"text": "<text>"
},
"name": "send_dm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||