Update App Icon Badge
update_app_icon_badge_countSet the number shown on the ActivitySmith App Icon Badge on the user's iPhone or iPad, such as a count of open incidents or pending reviews. It updates the badge silently, without showing a Push Notification; use send_push_notification when the user should be alerted, or its badge field to set both at once. Send 0 to clear the badge. The value replaces the current number rather than adding to it, so repeating a call is safe. Optionally target channel slugs.
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": {
"badge": "<badge>"
},
"name": "update_app_icon_badge_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| badge | Yes | Number to show on the App Icon Badge. Send 0 to clear it. | |
| target_channel_slugs | No | Optional channel slugs to target. Omit to target the account-wide default delivery scope. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| badge | Yes | ||
| success | Yes | ||
| timestamp | Yes | ||
| users_updated | Yes | ||
| devices_updated | Yes | ||
| effective_channel_slugs | Yes |