alertar_chat
Enable or disable Mac desktop notifications for incoming client messages in a WhatsApp group or DM by slug, alerting the human operator without waking the agent.
Instructions
Liga/desliga a NOTIFICAÇÃO NO MAC (pro humano) quando chega mensagem de cliente num chat — grupo OU DM — por slug. NÃO acorda o agente nem faz o Claude reagir sozinho: é só um aviso de tela pro operador. (Pra o AGENTE ser acordado por mensagem nova — modo monitor/autônomo — arme um Monitor no data/<slug>/messages.jsonl, ver CLAUDE.md.) Opt-in por conversa. Depois de notificado, use novidades pra puxar o que chegou.
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": {
"grupo": "<grupo>",
"ativar": "<ativar>"
},
"name": "alertar_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grupo | Yes | slug do grupo ou DM (de listar_grupos; DM = dm-<id>) | |
| ativar | Yes | true = passa a te notificar; false = para |