send_message
Deliver WeCom messages to specific users, departments, or tags. Supports text, markdown, cards, news, and other message types with custom content JSON and agent ID.
Instructions
发送任意类型应用消息 (通用接口)。
Args: msg_type: text/markdown/textcard/news/image/mpnews/template_card 等 content_json: 对应 msg_type 的内容体 JSON。 text: {"content":"文本"} markdown: {"content":"# 标题"} textcard: {"title":"标题","description":"描述","url":"https://..."} agent_id: 应用 AgentId,留空使用默认配置
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_tag | No | ||
| to_user | No | ||
| agent_id | No | ||
| msg_type | No | text | |
| to_party | No | ||
| content_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |