Vectorize image
vectorize_imageConvert raster images into SVG vectors for editing or export. Provide the source image file ID to transform bitmap artwork into clean vector graphics.
Instructions
Convert a raster image into a vector (SVG).
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": {
"imageFileId": "<imageFileId>"
},
"name": "vectorize_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageFileId | Yes | Source image file id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error details when status is failed; otherwise null. | |
| status | No | Job status: pending, running, succeeded, failed, or cancelled. | |
| results | No | Generated results with download URLs when succeeded. | |
| toolType | No | Tool name (e.g. GENERATE_IMAGE). | |
| attemptIndex | No | Current or latest attempt index. | |
| toolExecutionId | Yes | Tool execution id (vg_tool_...). | |
| progressPercentage | No | Completion progress 0-100 (present after polling). |