remove_background
Extracts the main subject from an image and saves it as a transparent PNG or WebP cutout, ready to place on any background color.
Instructions
Cuts the subject out of an image and stores the transparent cutout.
To show it on a colour, build a delivery URL with transform bg, e.g. 'ffffff'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path of a local file to send. Give this or content_base64, not both. | |
| folder | No | Destination folder slug path, e.g. 'marketing/2026'. Created if missing. | |
| format | No | png or webp; both keep the alpha channel. | |
| filename | No | Filename to store, e.g. 'hero.jpg'. Defaults to the path's name. | |
| folder_id | No | UUID of an existing destination folder. | |
| content_base64 | No | File content, base64-encoded (20 MB max). Requires filename. | |
| auto_create_folders | No | False to require the folder path to exist already. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||