wework_app_send_text
Send text or Markdown messages through WeCom application accounts for team communication and notifications. Supports sending to specific users or all members with content up to 2048 bytes.
Instructions
通过企业微信应用号发送文本或Markdown消息
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| msgtype | No | 内容类型,仅支持: text/markdown | text |
| text | Yes | 消息内容,最长不超过2048个字节 | |
| touser | No | 接收消息的成员ID,多个用`|`分隔,为`@all`时向该企业应用全部成员发送,默认从环境变量获取 |
Input Schema (JSON Schema)
{
"properties": {
"msgtype": {
"default": "text",
"description": "内容类型,仅支持: text/markdown",
"type": "string"
},
"text": {
"description": "消息内容,最长不超过2048个字节",
"type": "string"
},
"touser": {
"default": "",
"description": "接收消息的成员ID,多个用`|`分隔,为`@all`时向该企业应用全部成员发送,默认从环境变量获取",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
}