Save Avatar
beatra.avatars.saveSave one image already in this account as a named avatar the user can reuse in later sessions. Call only after the user agreed to save it and confirmed the portrait consent sentence: they are the person pictured (consent_subject=self) or they have that person's separate consent (authorized_other). Saving the same image again updates and returns the same avatar. This call is non-billable and cannot delete anything.
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": {
"artifact_id": "<artifact_id>",
"display_name": "<display_name>",
"consent_attested": "<consent_attested>",
"consent_subject": "<consent_subject>"
},
"name": "beatra.avatars.save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | Optional use, such as 'course lecturer'. | |
| voice_id | No | Optional voice to pair with this avatar. | |
| artifact_id | Yes | An image artifact_id in this account, from beatra.assets.upload or an earlier task. | |
| display_name | Yes | The name the user gave this avatar. | |
| make_default | No | Also make this the account's default avatar. | |
| consent_subject | Yes | self: the user is the person pictured. authorized_other: the user has that person's separate consent. | |
| consent_attested | Yes | Set true only after the user confirmed the portrait consent sentence. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| avatar | No | ||
| default_avatar_id | No |