Convert image to SVG
convert_image_to_svgVectorize raster images (PNG, JPG, etc.) into editable SVGs. Choose auto, simple, or layered mode based on image complexity.
Instructions
Vectorize a raster image (PNG/JPG/WebP/GIF/BMP/TIFF/AVIF) into an editable SVG. mode=auto picks simple vs layered by image complexity. Returns a summary and an inline PNG preview.
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": {
"input_path": "<input_path>"
},
"name": "convert_image_to_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| mode | No | ||
| max_colors | No | ||
| output_path | No |