Generate Avatar
generate_avatarGenerate a custom avatar SVG. Specify a style (e.g., 'avataaars', 'pixel-art', 'lorelei') and seed (e.g., username). Returns the SVG URL ready to display.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"seed": "john_doe",
"style": "avataaars"
},
"name": "generate_avatar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | Yes | A seed string that determines the avatar appearance. Same seed + style always produces the same avatar. | |
| style | Yes | The avatar style to use. Available styles: adventurer, avataaars, bottts, fun-emoji, identicon, initials, lorelei, micah, miniavs, notionists, open-peeps, personas, pixel-art, thumbs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The SVG URL for the generated avatar | |
| seed | Yes | The seed string that determines avatar appearance | |
| style | Yes | The avatar style that was used | |
| format | Yes | The format of the avatar (always SVG) |