Create or update a goal
set_goalCreate a roadmap goal (omit goalId) or update one (name, color, description). Progress is computed from the items linked with link_item_to_goal. Needs read-and-change access.
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": {
"roadmapId": "<roadmapId>"
},
"name": "set_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Goal name (required when creating) | |
| color | No | Color as #rrggbb (optional) | |
| goalId | No | Goal id from get_roadmap, to update it (omit to create a goal) | |
| roadmapId | Yes | Roadmap id | |
| description | No | Short description, or null to clear |