save_icon
Saves generated SVG icons to files with smart naming and path resolution, letting you choose filenames or output paths when needed.
Instructions
Saves generated SVG icon to file with smart naming and path resolution.
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>",
"filename": "<filename>"
},
"name": "save_icon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | Yes | The SVG content to save | |
| filename | Yes | Suggested filename (without extension) | |
| output_name | No | Optional custom output filename | |
| output_path | No | Optional custom output directory path |