Render avatar
render_avatarReturns the SVG markup of an avatar, for inlining or saving to a file. Prefer build_avatar_url when a link is enough.
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": {
"style": "<style>",
"seed": "<seed>"
},
"name": "render_avatar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | Yes | Any text, such as a user name or ID. The same seed and options always give the same avatar. | |
| style | Yes | Style name from list_styles, for example "lorelei". | |
| options | No | Style options from get_style_options, for example {"backgroundColor": ["b6e3f4", "c0aede"], "eyesVariant": ["variant01"], "flip": "horizontal", "size": 64}. Lists are arrays, weighted enums take an object of value to weight, colors are hex. |