send_image_file
Sends a local PNG, JPEG, or WebP image to the connected person, stripping EXIF/GPS metadata before delivery and enforcing relay or peer-to-peer size limits.
Instructions
向当前已连接的真人发送一张本地 PNG/JPEG/WebP 图片(发送前自动剥离 EXIF/GPS 元数据,relay 模式上限 400KB,p2p 模式上限 2MB)。
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": {
"file_path": "<file_path>"
},
"name": "send_image_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | 可选的图片简短说明 | |
| file_path | Yes | 本地图片文件的绝对路径 |