whatsapp_contact_photo
Get the WhatsApp profile photo of ONE contact as a short-lived (15 min) HTTPS link, for showing an avatar. Read-only, nothing is sent. Cached 7 days (also 'no photo'); live lookups are paced per number (1 every 20 s, at most 200 a day), so call it only for contacts someone is looking at, never to sweep the address book. Returns { success:true, url, mime, size, picture_id, fetched_at, expires_at, cached }. On failure { success:false, error }: no_photo (none, or hidden by the contact's privacy), rate_limited (with retry_after_s), not_connected, unsupported, bad_jid (groups and channels are not supported).
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": {
"jid": "<jid>"
},
"name": "whatsapp_contact_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | ||
| account | No |