wechat_send_files
Send local files to a WeChat friend or group chat, with optional text messages and send delays. Provide absolute paths; each file must be under 1GB.
Instructions
向单个好友或群聊发送本地文件(单个文件需小于 1GB)。
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": {
"to_user": "<to_user>",
"files": "<files>"
},
"name": "wechat_send_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delay | No | 发送间隔(秒),默认 0.2 | |
| files | Yes | 本地文件的绝对路径列表,也支持换行分隔的字符串;单个文件需小于 1GB | |
| to_user | Yes | 好友或群聊的备注/昵称,需与微信中显示的名称完全一致 | |
| messages | No | 随文件一起发送的文本消息 | |
| messages_first | No | 为 True 时先发消息再发文件;默认先发文件 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |