add_image_watermark
Add a custom image watermark to a local photo by specifying the watermark image and rotation angle.
Instructions
为图片添加图片水印
Args: image_path: 本地图片文件路径 watermark_image_path: 水印图片文件路径 angle: 水印倾斜角度(默认30度)
Returns: 处理后的图片保存路径信息
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>",
"watermark_image_path": "<watermark_image_path>"
},
"name": "add_image_watermark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | ||
| watermark_image_path | Yes | ||
| angle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |