contacts_get_avatar
Retrieves a contact's avatar image using channel and contact IDs, saves it locally, and returns the file path for display or further use.
Instructions
A contact’s avatar, described; the bytes are served from GET /storage/* The file is saved locally and its path returned (images are also shown). gRPC answers the bytes in-band; on REST/socket they are fetched from the provider’s storage. (POST /api/kalagh/contacts/get-avatar · gRPC GetContactAvatar)
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": {
"channelId": "<channelId>",
"contactId": "<contactId>"
},
"name": "contacts_get_avatar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channelId | Yes | ||
| contactId | Yes |