Track contact event
track_eventRecord that a contact did something, such as plan_upgraded. Runearc then applies sync rules (tags, fields, lists) and goals. Returns the event with duplicate=true when the idempotency_key was seen before. Errors: contact_not_found (create the contact first), reserved_event_name, invalid_event_name, invalid_properties, properties_too_large, idempotency_key_reused. Next: list_contact_events to confirm it, or create_sync_rule to react to it.
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": {
"email": "<email>",
"name": "<name>"
},
"name": "track_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The event name: lowercase letters, digits and _ . : - starting with a letter, such as "plan_upgraded". Built-in names (email.opened, tag.added, ...) are reserved. | |
| Yes | Email of an existing contact the event is about. | ||
| properties | No | Event properties as a JSON object, up to 16 KB, such as {"plan": "pro", "amount": 49}. | |
| idempotency_key | No | Repeating the same key returns the first event instead of recording a second one. |