Add Goal
add_goalAppend a Goal with tasks and an outcome to the roadmap, optionally claiming it to start work now. Refuses duplicate titles unless allowed, and can record finished or recurring goals.
Instructions
Add a Goal to the end of the Roadmap, with an optional Task list and Outcome; with claim: true, also claim it to start work. A title another Goal already has is refused unless allow_duplicate is set. To record work already finished, set done on the Goal and on every Task. Plan each Goal with an Outcome (one sentence on what done looks like) and Tasks that each have a short title, the files they touch, a one-line summary and an estimate. Tell the Developer the plan in a few plain lines first. With claim: true the answer is the brief status of the claimed Goal; otherwise only the new Goal's ID, title, step count and estimate.
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": {
"title": "<title>"
},
"name": "add_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | A short ID for the Goal's refs, such as 'web-ui': lowercase letters, digits and dashes. Made from the title when left out. | |
| done | No | Record a Goal that is already finished. Every Task must then have done: true. | |
| claim | No | Claim the new Goal straight away, to start working on it. Not with project: a Goal on another project's plan can't be claimed from here. | |
| tasks | No | ||
| title | Yes | A few words naming the Goal, such as 'Ship OAuth login'. | |
| repeat | No | Make it come back: 1d, 1w, 2w, 1mo or a weekday (monday). A goal like it is added by itself when due, once the last one is finished or dropped. | |
| bundles | No | For a release goal: the finished goals it bundles, by ID, instead of all the unreleased ones. | |
| outcome | No | What done looks like, in one sentence, such as 'Users can sign in with Google and stay signed in for 30 days'. | |
| project | No | Another project's plan to use instead of this one's: its name or ID on the dashboard, or its folder's full path. Changes there are marked as made from this project. Leave out for this project. | |
| release | No | Make it a release goal: it bundles the finished goals no earlier release took, and the reply gives the facts to write the changelog entry and version bump from. | |
| estimate | No | How long the whole Goal should take, such as '6h', when its Tasks are not estimated one by one yet. Without it, the Goal's estimate is the sum of its Tasks'. | |
| waits_on | No | Goals it waits on: IDs here, or <project>/<goal-id>. | |
| allow_duplicate | No | Add the Goal even though another Goal has the same title. |