clearly_vectorize
Trace one image into an editable SVG. Sources are a workspace image file, HTTPS image URL, completed upload or small data URI. PNG, JPEG and WebP are supported up to 8 MB. Each trace spends 0.3 workspace credits, using plan credits before top-ups. Insufficient credits incur no charge, failed traces are refunded and identical repeats are free. The result includes 24-hour links for the SVG and requested extra format, the library fileId and openUrl, and the shape count.
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": "clearly_vectorize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | An https image URL. | |
| data | No | A small image as a data URI (data:image/png;base64,...). | |
| file | No | A workspace image: its file id, exact name, or the storage path beehaven teleport printed (e.g. uploads/logo.png). | |
| name | No | Name for the result (default: the source file name). | |
| colors | No | Exactly this many colours, from the image’s own. | |
| format | No | Also render this format: svg (the default), png, pdf, eps or dxf. The SVG link is always returned. | |
| inline | No | Also return the SVG markup when it is under 200 KB. | |
| preset | No | The tracer preset: logo, clipart (the default), lineart, centerline (single strokes), photo or cut (cut files). | |
| upload | No | A local file name with its extension. Returns a one-time HTTPS PUT URL and an upload id. | |
| pngWidth | No | The PNG’s width in pixels when format is png (default 2048). | |
| uploaded | No | The id of a completed image upload. | |
| projectId | No | File the result into this project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| code | No | ||
| error | No |