client_setAutoDownloadDocuments
Control whether documents are automatically downloaded in a WhatsApp Web session. Use the flag to enable or disable auto-download.
Instructions
[Client] Set auto load download documents 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_setAutoDownloadDocuments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | No | Flag true/false | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |