record_in_app_event
Records in-app message or card display, click, dismissal, or read events so click counts and feed visibility stay accurate.
Instructions
Record that the app displayed, clicked, dismissed or read an in-app item. Repeats change nothing except clickCount. Clicks, dismissals and reads also count as a display. Messages leave the open feed once displayed, clicked or dismissed; cards once dismissed.
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": {
"messageId": "<messageId>",
"type": "<type>"
},
"name": "record_in_app_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Event to record. | |
| buttonId | No | Clicks in custom HTML messages: which control was clicked (1-255 letters, numbers, spaces, dashes or underscores). | |
| companyId | No | Company ID. If not provided, uses the currently selected company. | |
| messageId | Yes | In-app message or card ID (from list_in_app_messages). | |
| pushPermission | No | With type "clicked" on a push primer (a request_push_permission button): the notification permission the app read after asking. Kept once per item and written to the contact's pushPermission attribute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Additional context about the result. | |
| items | No | Fallback array wrapper used only when a tool returns a bare array. | |
| value | No | Fallback object wrapper used only when a tool returns a non-object value. | |
| message | No | The in-app message record returned by Sequenzy. | |
| success | No | Whether the Sequenzy operation succeeded. | |
| recorded | No | True when this report set the timestamp; false for a repeat. | |
| warnings | No | Non-fatal cautions about content, permissions, or follow-up actions. |