tool_remove_background
Remove an image background.
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": {
"src": "<src>"
},
"name": "tool_remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | Yes | Image as https URL, data URL or base64 (PNG/JPEG) | |
| feather | No | Edge softening 0-3 px, default 1 | |
| tolerance | No | Color distance 5-120 treated as background, default 40 |