DoctorTracer Image to SVG — prepare request
prepare_raster_traceUpload a PNG or JPEG and get vector SVG paths with configurable colors, Bézier fitting, speckle removal and polygon mode. Prepare a paid HTTP request (0.10 USDC on Base). This MCP tool does not perform analysis, sign or charge. Returns the canonical endpoint, supplied input and payment instructions. Up to 384 × 384 pixels and 400 KB. Standard non-interlaced PNG or JPEG. SVG paths with configurable alpha threshold.
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": {
"imageBase64": "<imageBase64>"
},
"name": "prepare_raster_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | No | ||
| detail | No | medium | |
| polygon | No | ||
| speckle | No | Ignore speckles up to this area in pixels. | |
| imageBase64 | Yes | ||
| alphaThreshold | No |