export_image
Export a GIMP session to PNG, JPEG, or WebP using the output path extension, optionally overwriting existing files.
Instructions
Export the session to PNG/JPEG/WebP or another GIMP-supported format inferred from the extension.
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": {
"session_id": "<session_id>",
"output_path": "<output_path>"
},
"name": "export_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| session_id | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||