sync_all_history
Bulk-sync WhatsApp chat history for every chat active since a start date back to a target date, saving progress so interrupted runs resume without losing work.
Instructions
Run sync_chat_history for every chat active since active_since, back to back_to.
Each call stops after time_budget_seconds (max 600) and returns complete=false with a resume hint; progress is saved, so calling it again continues with the chats that did not reach back_to yet. restart=true forgets the saved progress.
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": {
"active_since": "<active_since>",
"back_to": "<back_to>"
},
"name": "sync_all_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account from list_accounts when several WhatsApp numbers are set up; default: default | |
| back_to | Yes | ||
| restart | No | ||
| max_chats | No | ||
| active_since | Yes | ||
| wait_seconds | No | ||
| max_pages_per_chat | No | ||
| time_budget_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||