Upsert project milestone
upsert_project_milestoneCreate or change a milestone, deliverable or report on a project. Three dates, not one status: due_on, submitted_on and accepted_on — the gap between the last two is exactly the stretch where a funder is reviewing and no money moves, and a plain done/not-done cannot show it. code is the handle everyone uses (D5.2, RP1, M12) and is unique per project. Pass milestone_id to change one, or project_id plus title to create.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upsert_project_milestone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| kind | No | ||
| notes | No | ||
| title | No | ||
| due_on | No | ||
| status | No | ||
| file_url | No | ||
| period_id | No | The reporting period it belongs to, where that is settled. | |
| tender_id | No | Create the milestone on a TENDER instead of a project — the payment plan of the bid, before any award. It is forced to plan_status "geplant" there and the database refuses anything else: a plan at a bid is not binding until the contract is. Use adopt_milestone_plan to carry it into the project on award. | |
| amount_net | No | Instalment amount, NET; currency comes from the project or tender. Contract research is paid per milestone, not per reporting period — BASt FE 04.0353 has six instalments between 34,909 and 69,818 EUR and the plan is scored as part of the bid. Leave empty when not yet calculated: the sum check then reports the total as a LOWER BOUND instead of pretending it is complete. | |
| project_id | No | ||
| sort_order | No | ||
| accepted_on | No | ||
| responsible | No | ||
| milestone_id | No | ||
| submitted_on | No | ||
| work_package | No | ||
| work_package_id | No | The work package it belongs to — see list_project_work_packages. The free-text work_package field stays for codes a foreign key cannot express ("WP5, WP6, WP8"). | |
| due_month_offset | No | Relative month from the bid ("Monat 2"), when no calendar date exists yet. Month 1 is the month the project STARTS and the milestone falls due at MONTH END: start 2026-11-01, month 2 -> 2026-12-31. adopt_milestone_plan converts these once the start is known. |