check_install
Whether a customer still has the app, like "Check if they still have the app" in the dashboard. Pass conversationId for a chat's customer, or externalId (your user id, or the Superwall user id, Superwall alias id or RevenueCat id the app sends) with appId. Hailbell sends each of their devices a silent push that shows nothing: Apple and Google refuse it once the app is deleted. answer is "deleted" (every device refused since they last opened the app), "installed" (a device still takes pushes; Apple can take hours or a day to learn of a deletion, so likely, not certain) or "unknown" (no device with a push token). It asks at most every 6 hours per customer and otherwise returns the last answer (checkedAt, nextCheckAt). lastOpenedAt is when they last opened the app. get_user and get_conversation show the last answer without asking again. Goes in the account's data access log.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | The app to act on, from list_apps. Optional when the key belongs to one app. | |
| externalId | No | ||
| conversationId | No | A chat, from list_conversations |