What if
what_ifCompares a plan before and after a change and reports which finish dates move and which deadlines are newly met or missed. The change is a list of simple changes (move an item to a position, change effort, set or clear a deadline or a can't-start-before date, change a lane's people or availability, add a person or team, add a holiday, change working days, remove an item, change the start date), or an alternative: a whole changed copy of the plan, for anything else (moving work between people, splitting, cutting or adding items, dependencies, hand-offs, several changes at once). Returns the comparison and the changed plan. To apply a change and update the chart in one step, call show_plan with the same changes instead.
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": {
"plan": "<plan>"
},
"name": "what_if"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lens | No | Which dates to show: planned = as estimated (default), likely 1.6×, safe bet 3.1× | |
| plan | Yes | A whenship plan. Pass the current plan (from the chart or the last tool result) unchanged unless the user asked for changes | |
| changes | No | Simple changes, applied in order | |
| alternative | No | A changed copy of `plan`, in the same format, to compare against it. Items keep their name or id to be matched; `changes`, if also given, apply on top |