Update goal
update_goalReplace a goal's definition. Send the whole goal, not just the changed fields — omitted fields are cleared, not kept.
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": {
"site": "<site>",
"goal_id": "<goal_id>",
"name": "<name>"
},
"name": "update_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | No | ||
| site | Yes | site_id from list_sites. | |
| goal_id | Yes | id from list_goals. | |
| operator | No | ||
| event_name | No | ||
| scroll_depth | No |