Generate a deterministic placeholder avatar for a DAO
dexe_dao_generate_avatarGenerates a deterministic DAO avatar JPEG from the DAO name's initials and a hash-colored gradient, pins it to remote storage, and returns its CID, filename, and URL.
Instructions
Writes to a remote service. Renders a real JPEG of the DAO's initials over a hash-coloured gradient and pins it, returning {avatarCID, avatarFileName, avatarUrl}. Deterministic.
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": {
"daoName": "<daoName>"
},
"name": "dexe_dao_generate_avatar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Output image size in px (square). | |
| daoName | Yes | DAO name; first 1–2 alphanumeric chars become the avatar initials. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| pinnedAt | Yes | ||
| avatarCID | Yes | ||
| avatarUrl | Yes | ||
| avatarFileName | Yes |