dingtalk_chat_send_by_bot
Send messages to DingTalk group chats or single chats as a bot. Specify group_id for groups or users list for direct messages.
Instructions
以机器人身份向群聊或单聊发送消息。发群聊用 group_id;发单聊用 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": {
"robot_code": "<robot_code>",
"title": "<title>",
"text": "<text>"
},
"name": "dingtalk_chat_send_by_bot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 消息内容,支持 Markdown(必填) | |
| title | Yes | 消息标题(必填) | |
| users | No | 单聊接收者 userId 列表,逗号分隔,最多 20 个(发单聊时必填) | |
| group_id | No | 群聊 openConversationId(发群消息时必填) | |
| robot_code | Yes | 机器人 robotCode(必填) |