send_presence
Set your WhatsApp online availability to 'available' or 'unavailable'; reverse by calling with the opposite state.
Instructions
Set the paired user's own global online availability; contacts permitted by privacy settings see online or last-seen accordingly. Reversible by calling again with the inverse state. Use send_typing for per-chat composing/recording indicators instead. Returns a JSON object {success, message}.
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": {
"state": "<state>"
},
"name": "send_presence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | availability to broadcast: `available` (online) or `unavailable` (offline) |