tool_edit_image
Edit existing images with Gemini models: apply prompt-driven changes, mask-guided inpainting or outpainting, background swaps, and product-image edits.
Instructions
Image editing via Gemini image models — mask-guided inpaint/outpaint, background swap, product image, or mask-free prompt-driven edit. For free-form natural-language transforms (style transfer, scene rewriting), use tool_transform_image instead.
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": {
"params": "<params>"
},
"name": "tool_edit_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |