Apply a hand-written FMUpgradeTool patch
patchwork_pushApply a hand-written FMUpgradeToolPatch when no specific tool covers a change, creating a new reversible version; entirely skipped patches are refused.
Instructions
Apply a hand-written FMUpgradeToolPatch. A last resort for changes no other tool covers: prefer the specific tools, which check their result object by object. Here only a patch that FMUpgradeTool skipped entirely is detected and refused. Makes a new version; patchwork_undo reverses it.
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": {
"patch_xml": "<patch_xml>"
},
"name": "patchwork_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Only write the patch file to .patchwork/ and return its path. Nothing is applied, no version is made. | |
| message | No | What this change does, kept in the version log. Default: a short description of the change. | |
| patch_xml | Yes | A full patch as XML, with the root element <FMUpgradeToolPatch>. |