send_message
Send a message to an anonymous group chat, optionally targeting specific member IDs, to coordinate updates and communicate in real time.
Instructions
发送消息。
Args: group_id: 群组 ID。 token: 发送者身份令牌。 text: 消息内容。 target_ids: 接收者成员 ID 列表;省略或为 null 时所有成员可见。
Returns: 消息信息,包含消息 ID、发送者 ID、接收者 ID 列表、内容与发送时间。
Raises: GroupNotFoundError: 群组不存在。 AuthenticationError: 身份验证失败。 NotGroupMemberError: 本人不在群内。 InvalidTargetError: 接收者 ID 不在群内。
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": {
"group_id": "<group_id>",
"token": "<token>",
"text": "<text>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| token | Yes | ||
| group_id | Yes | ||
| target_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||