create_sprite
Combine multiple icons into a single SVG sprite sheet for web apps, simplifying multi-icon usage and reducing requests.
Instructions
Generate an SVG sprite sheet combining multiple icons. Useful for web apps that need multiple icons.
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": {
"icons": "<icons>",
"library": "<library>"
},
"name": "create_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icons | Yes | List of icon names to include in sprite | |
| format | No | svg | |
| library | Yes | Icon library to use | |
| optimize | No | Optimize the sprite SVG |