U-App create custom event
umeng_uapp_event_createCreate a custom counting or calculation event for U-App analytics by specifying event name and display name.
Instructions
Create a custom event. Official API: umeng.uapp.event.create.
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": {
"eventName": "<eventName>",
"eventDisplayName": "<eventDisplayName>"
},
"name": "umeng_uapp_event_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appkey | No | Umeng appkey. If omitted, UMENG_DEFAULT_APPKEY will be used. | |
| eventName | Yes | Custom event name. | |
| eventDisplayName | Yes | Custom event display name. | |
| eventType | No | true for calculation event, false for counting event. |