get_context
What to know before writing a message: the current time where the audience is, their countries, the hours they usually use the app, upcoming occasions in their countries (festivals, holidays and sales worldwide, such as Diwali, Lunar New Year, Eid, Christmas and Black Friday, each with a kind and a tier, and the app's own dates), the app's daily cap and quiet hours, and the {{variables}} you can use.
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": "get_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How far ahead to list occasions. Default 14 | |
| appId | No | The app to act on, from list_apps. Optional when the key belongs to one app. | |
| platforms | No | Several platforms of one app in one campaign: "all", or a list of "ios", "android", "web" (or App IDs). Each person gets it once. Omit (with no productId) for the one platform of appId. | |
| productId | No | The whole app (productId from list_apps), for a campaign across its platforms. Same as appId of any platform with platforms "all". |