avatar_initials_svg
Generate a deterministic initials avatar SVG with an accessible text color
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": "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) |