Get the SVG file
get_svgUse this when the user asks for the finished SVG file itself, to save or use it. It never spends a credit. If the person has already unlocked this image, in the VecSnap card or on their VecSnap page, it answers download_url, a link that downloads the file for an hour (for the person or a program). If not, download_url is null and page_url is the person's way to unlock it, for one credit.
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": {
"conversion_id": "<conversion_id>"
},
"name": "get_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conversion_id | Yes | The conversion_id vectorize_image answered. |