wework_send_text
Send text or Markdown messages to WeCom group chats using bot integration for team notifications and alerts.
Instructions
通过企业微信群机器人发送文本或Markdown消息
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_key | No | 企业微信群机器人key,uuid格式,默认从环境变量获取 | |
| msgtype | No | 内容类型,仅支持: text/markdown_v2 | text |
| text | Yes | 消息内容,长度限制: (text: 2048个字节, markdown_v2: 4096个字节) |
Input Schema (JSON Schema)
{
"properties": {
"bot_key": {
"default": "",
"description": "企业微信群机器人key,uuid格式,默认从环境变量获取",
"type": "string"
},
"msgtype": {
"default": "text",
"description": "内容类型,仅支持: text/markdown_v2",
"type": "string"
},
"text": {
"description": "消息内容,长度限制: (text: 2048个字节, markdown_v2: 4096个字节)",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
}