send_text_message
Send text messages to WeCom members, departments, or tags by specifying recipient IDs and content, enabling direct communication through WeCom.
Instructions
向企业微信成员发送文本消息。
Args: to_user: 接收人 userid,多人用 "|" 分隔 to_party: 接收部门 id,多个用 "|" 分隔 to_tag: 接收标签 id,多个用 "|" 分隔 content: 文本内容 agent_id: 应用 AgentId,留空使用默认配置
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "send_text_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_tag | No | ||
| content | No | ||
| to_user | No | ||
| agent_id | No | ||
| to_party | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |