convert_svg_to_dxf
Convert 2D SVG paths and shapes (up to 100 KB) into AutoCAD R12 (AC1009) ASCII DXF polylines in millimeters.
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": {
"svg": "<svg>"
},
"name": "convert_svg_to_dxf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | Yes | Raw SVG markup containing paths, rects, circles, polygons, or lines. | |
| unit | No | Input coordinate unit (default mm). | |
| flipY | No | Flip Y-axis to CAD bottom-left origin (default true). | |
| scale | No | Optional scale multiplier (default 1). |