rybbit_track_event
Send pageview, custom event, performance, error, or outbound link tracking events to Rybbit Analytics. Specify site ID and event type to record user interactions.
Instructions
Send a tracking event (pageview, custom event, performance, error, or outbound link)
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": {
"siteId": "<siteId>",
"type": "<type>"
},
"name": "rybbit_track_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cls | No | CLS metric (for performance type) | |
| fcp | No | FCP metric (for performance type) | |
| inp | No | INP metric (for performance type) | |
| lcp | No | LCP metric (for performance type) | |
| ttfb | No | TTFB metric (for performance type) | |
| type | Yes | Event type | |
| siteId | Yes | Site ID | |
| userId | No | User identifier | |
| hostname | No | Page hostname | |
| pathname | No | Page pathname | |
| referrer | No | Referrer URL | |
| eventName | No | Custom event name (required for custom_event type) | |
| pageTitle | No | Page title | |
| properties | No | JSON string of event properties |