query_retention_analysis
Query user retention by analyzing the percentage of users who perform a returning event after an initial event within a selected time range. Understand repeat engagement.
Instructions
Query retention from an initial event to a returning event.
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": {
"initial_event": "<initial_event>",
"returning_event": "<returning_event>",
"time_range": "<time_range>"
},
"name": "query_retention_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time_range | Yes | ||
| initial_event | Yes | ||
| returning_event | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| source | Yes | ||
| return_code | Yes | ||
| return_message | Yes |