svg_optimize
Minify and optimize SVG markup by stripping XML comments, metadata, editor namespaces, empty groups, and rounding float precision.
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": "svg_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Raw SVG markup. | |
| filePath | No | ||
| precision | No |