generate_icon_base64
Render an icon and return it as a base64-encoded PNG string, allowing previews in MCP clients without local file access.
Instructions
Render an icon and return it as a base64-encoded PNG string (no disk write).
Useful for previews inside MCP clients that cannot read local files.
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": "generate_icon_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| text | No | ||
| shape | No | rounded | |
| style | No | gradient | |
| shadow | No | ||
| bg_color | No | #4F8DFD | |
| fg_color | No | #FFFFFF | |
| bg_color_2 | No | #8E5BFF | |
| font_scale | No | ||
| border_color | No | #FFFFFF | |
| border_width | No | ||
| corner_radius | No | ||
| gradient_angle | No |