Generate Molanko Avatar
generate_avatarGenerates a Molanko avatar from an uploaded image or a Minecraft player name/UUID, returning a PNG with optional background, outline, and scaling adjustments.
Instructions
Generate a Molanko Avatar. Provide exactly one source: image or minecraftPlayer. minecraftPlayer accepts a Minecraft username or UUID (with or without hyphens); the server resolves the current skin through Mojang APIs. Returns the generated PNG as an MCP image result.
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_avatar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | A source Minecraft skin/image. | |
| scale | No | Nearest-neighbor output scale. | |
| bgColor | No | Background color: auto, auto_lighter, auto_darker, or a hex color. | auto |
| upscale48 | No | Render the avatar on a 48x48 canvas with the 32x32 avatar centered. | |
| outlineMode | No | Outline radius in pixels. 0 disables the outline. | |
| averageColor | No | Override the color used by automatic outline/background colors. Use auto (default), #RRGGBB, or #RGB. | |
| outlineColor | No | Outline color: auto, auto_darker, auto_lighter, or a hex color. | auto |
| fillBackground | No | Whether to fill the background. | |
| minecraftPlayer | No | Minecraft username or UUID, with or without hyphens. The server fetches the current skin through Mojang APIs. |