add_text_watermark
Add a custom text watermark to an image with adjustable angle. Protect your visuals by overlaying text to deter unauthorized use.
Instructions
为图片添加文字水印
Args: image_path: 本地图片文件路径 watermark_text: 水印文字内容 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_text": "<watermark_text>"
},
"name": "add_text_watermark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | ||
| watermark_text | Yes | ||
| angle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |