image_to_base64
Convert local image files or remote URLs to Base64 encoding, enabling AI assistants to view and process the images.
Instructions
将图片地址转为base64然后AI才可以真正看到这张图片。支持本地文件路径和远程URL。
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": {
"image_path": "<image_path>"
},
"name": "image_to_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | 图片路径,可以是本地文件路径或远程URL |