client_setAutoDownloadPhotos
Set whether WhatsApp automatically downloads photos for a specified session, controlling media storage preferences.
Instructions
[Client] Set auto load download photos flag
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": {
"sessionId": "<sessionId>"
},
"name": "client_setAutoDownloadPhotos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | No | Flag true/false | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |