vectorize_image
Convert raster images on a canvas into editable vector paths, turning PNG/JPEG imports and screenshots into editable shapes. The original raster element stays intact.
Instructions
Convert a raster image element on the canvas into editable vector paths. The new vector elements are placed on the canvas; the original raster element is left untouched (delete it manually if no longer needed). Use for: importing PNG/JPEG content the user wants to edit as vectors, cleaning up screenshots into icons, or converting AI-generated raster images into editable shapes. Requires Quiver API key.
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": {
"canvasId": "<canvasId>",
"sourceElementId": "<sourceElementId>"
},
"name": "vectorize_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| autoCrop | No | Auto-crop the source image before vectorizing (default true). | |
| canvasId | Yes | Canvas ID. Required. | |
| sessionId | No | Session ID for per-session visual feedback. Optional. | |
| sourceElementId | Yes | Element ID (or `#ref`) of the raster element to vectorize. Required. |