caelara_media_avatar_initials_svg
Generate a deterministic initials avatar SVG from a name, with background and text colors selected to keep text accessible. Supports custom size and shape.
Instructions
[Dynamic Media] Generate a deterministic initials avatar SVG with an accessible text color Measured p50 12 ms, p95 42 ms (2026-11-21, benchmarks.caelaralabs.com). Calls https://media.caelaralabs.com.
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": {
"name": "<name>"
},
"name": "caelara_media_avatar_initials_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bg | No | Background color (default derived from the name) (hex, with or without #) | |
| fg | No | Text color (default chosen for contrast) (hex, with or without #) | |
| name | Yes | Person or company name | |
| size | No | Size in px (24-1024, default 128) | |
| shape | No | circle (default), rounded or square | |
| format | No | json (default, includes svg + data URI) or svg (raw image/svg+xml) |