Deliver attachments (files/images/voice) to the current IM chat through the gateway, and return a structured receipt.
Important
- Text replyForwarded directly by the gateway; no need to send via a tool
- Attachment deliveryThis tool must be used; the receipt is the only evidence of "delivered"
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| artifacts | array | Yes | List of attachments to deliver |
| mode | string | No | send or preview (default send) |
Artifact Item
| Field | Type | Required | Description |
|---|---|---|---|
| type | string | Yes | file / image / voice |
| path | string | Yes | Local file path |
| caption | string | No | Caption text |
Examples
Send screenshot:
{
"artifacts": [{"type": "image", "path": "data/temp/screenshot.png", "caption": "页面截图"}]
}
Send file:
{
"artifacts": [{"type": "file", "path": "data/out/report.md"}]
}
Related Skills
browser-screenshot: Webpage screenshotdesktop-screenshot: Desktop screenshotget-voice-file: Get voice file