Update a goal
goal_updateEdits a saved goal. expectedRevision must match the goal's current revision; otherwise the edit fails with REVISION_CONFLICT and nothing changes. requestId is a UUID; repeating an identical request does not apply it twice.
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": {
"requestId": "<requestId>",
"expectedRevision": "<expectedRevision>",
"projectId": "<projectId>",
"goalId": "<goalId>"
},
"name": "goal_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| match | No | ||
| goalId | Yes | ||
| category | No | ||
| projectId | Yes | ||
| requestId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| appUrl | Yes |