SVG Converter
SVGConverterSVG Converter: SVG Converter is an SVG to PNG API that transforms vector SVG files into raster image formats. Convert SVG logos, icons, and illustrations to PNG, JPG, or WebP for use in applications that don't support vector graphics. (Cost: 10 credits)
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": {
"image": "<image>",
"outputFormat": "<outputFormat>"
},
"name": "SVGConverter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Upload an SVG file to convert | |
| quality | No | Output quality (applies to jpg/webp) | |
| maxWidth | No | Maximum width in pixels (maintains aspect ratio) | |
| maxHeight | No | Maximum height in pixels (maintains aspect ratio) | |
| outputFormat | Yes | Target format |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |