nexus_track_app_metric
Report collection start and completion events as app metrics to the Nexus GraphQL API to enable usage tracking and analytics.
Instructions
Report an app metric (e.g. a Vortex collection install event) via v2 GraphQL.
Returns: JSON {success, errors} or an error string.
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": {
"event_type": "<event_type>",
"entity_type": "<entity_type>",
"entity_id": "<entity_id>"
},
"name": "nexus_track_app_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Entity ID (e.g. collection id). | |
| event_type | Yes | Metric event type. | |
| entity_type | Yes | Metric entity type. | |
| client_string | No | Client identifier string. | |
| metadata_json | No | Optional JSON metadata object. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |