Vectorize an image to SVG
vectorize_imageUse this when the user wants an image converted to SVG or vector (vectorize, trace, image to SVG): a logo, an icon, an illustration, a picture from an AI tool. It converts an image the user already has, and does not create new images. Pass the image as a file, or a public https link, and never a file name or made-up data. If you cannot pass it as either, call this with neither: a card in the chat lets them drop it, or the answer says where they can. It answers the conversion's figures and page_url, the person's VecSnap page. Converting is free; the file costs one credit, once per image, and the person saves it from the card or that page. Where a card shows, it holds the drawing, its figures and its cost. With no card, page_url is the person's way to the result.
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": "vectorize_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https link to the image, when there is no file. | |
| image | No | The image file from this chat. | |
| preset | No | How to draw it. Leave it out for filled shapes (default). centerline draws each line of the drawing as one single line instead of an outline: for line art or a sketch when the user asks for centerline, single line or one-stroke paths, or for it to be drawn by a pen plotter, a Cricut pen, foil or a scoring blade. A filled logo stays filled, for cutting or engraving too, unless the user asks for single lines. |