Turn the bot on or off in a WhatsApp group and set its task
dosai_set_wa_groupConfigure the bot in one WhatsApp group of the project's number (jid from dosai_list_wa_groups). enabled=true makes the bot read the group and write to it FROM THE OWNER'S NUMBER, members see its messages: confirm with the owner first and only for work groups. mode: mention (answers only when addressed) or watch (reads everything, usually stays silent, does task and reports in one line; requires task). task_from: all, admins or list (then task_from_numbers). daily_check_cap 1-1000 protects the balance. Refused for groups over 100 members and above 5 enabled groups. Requires admin role.
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": {
"project_id": "<project_id>",
"jid": "<jid>"
},
"name": "dosai_set_wa_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | Group id like 120363...@g.us from dosai_list_wa_groups. | |
| mode | No | ||
| task | No | What the bot does in this group, in plain words (watch mode). | |
| enabled | No | ||
| task_from | No | ||
| project_id | Yes | From dosai_list_projects. | |
| daily_check_cap | No | ||
| transcribe_voice | No | ||
| task_from_numbers | No | Numbers allowed to give tasks when task_from=list. |