send_image
Sends an image to a QQ friend or group from a URL, local path, file URL, or base64, with an optional caption or sticker mode.
Instructions
Send a picture (http(s) URL, local path on the server, file://, or base64) to a friend or group, optionally with a caption. Set as_sticker to send it as a 表情 sticker.
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": {
"target": "<target>",
"image": "<image>"
},
"name": "send_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | URL / path / base64 of the image | |
| target | Yes | Who to talk to: "qq:<QQ号>" for a friend/private chat, "group:<群号>" for a group, a bare number, or a friend remark/nickname/group name (must be unambiguous). | |
| caption | No | Text sent with the image | |
| as_sticker | No | Send as sticker (subType 1) |