Create Goal
rybbit_create_goalCreate a path- or event-based conversion goal for a site to track URL matches or custom events, enabling clear analytics reporting.
Instructions
Create a new conversion goal for a site. Goal can be path-based (URL match) or event-based (custom event triggered).
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>",
"goalType": "<goalType>",
"config": "<config>"
},
"name": "rybbit_create_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name for the goal | |
| config | Yes | Goal configuration. Use pathPattern for path goals or eventName for event goals. | |
| siteId | Yes | Site ID (numeric ID or domain identifier) | |
| goalType | Yes | 'path' = URL pattern, 'event' = custom event |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Caveat about this response, e.g. how many rows were returned and how to get the rest | |
| goalId | No | ||
| message | No | ||
| success | No | ||
| truncated | No | True when rows were dropped to keep the response under the size cap |