Submit an asynchronous planning calculation
create_planning_calculationStart a migration planning calculation for a saved dossier. The calculation runs asynchronously: an accepted request returns a calculation_id immediately and the result is saved to the account. Only mode=ordinary is available; saved results from other modes stay readable. expected_revision must equal the dossier’s current revision. calculation_scope selects a fixed configuration: existing_189 covers current 189 routes without automatic preparation strategies; future covers wider planning. A full plan usually runs existing_189 first and continues with future when no 189 route has a conditional PR date or the user asks for more options. To continue, submit future with continuation_of set to the first calculation_id, the same revision and mode, and a new request_id; the service checks ownership, versions and a one-continuation limit and returns an error on mismatch. request_id is the idempotency key: retrying with the same value returns the same calculation, and list_planning_calculations finds it by request_id after a timeout. If required facts are missing it returns 422 needs_information with the missing items and schema references, and no calculation is created. Undecided preferences limit only the directions that depend on them; results report these as scope_gaps. parent_calculation_id and comparison must refer to this account’s calculations. Accepted calculations are subject to the account’s calculation quota. Use get_planning_calculation to check progress and read results. Requires the authenticated One U Education account and declared planning scope; credentials and user identity are never tool arguments.
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": {
"dossier_id": "<dossier_id>",
"expected_revision": "<expected_revision>",
"request_id": "<request_id>"
},
"name": "create_planning_calculation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ordinary | |
| comparison | No | ||
| dossier_id | Yes | ||
| request_id | Yes | ||
| continuation_of | No | ||
| calculation_scope | No | future | |
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| msg | Yes | ||
| code | Yes | ||
| data | Yes |