Update Goal
rybbit_update_goalUpdate an existing Rybbit Analytics goal's name, type, and configuration for a site, including path or event rules, so tracking definitions stay accurate.
Instructions
Update an existing goal's name, type, or configuration.
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>",
"goalId": "<goalId>",
"goalType": "<goalType>",
"config": "<config>"
},
"name": "rybbit_update_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| config | Yes | Goal configuration. Use pathPattern for path goals or eventName for event goals. | |
| goalId | Yes | Numeric goal ID to update | |
| siteId | Yes | Site ID (numeric ID or domain identifier) | |
| goalType | Yes |
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 |