Update projects to an entity template's newest version
r3_entity_updateBring the copies of an entity template in this account's projects up to its newest version. Without reportId it only reports, per project: what the template changed that the project did not (taken), what the project changed itself (kept, e.g. a moved ship keeps its position), scripts changed on both sides (kept: code is never merged), parts the template added, and parts it removed (kept unless removeGone: true). With that reportId it applies the report to the projects, as undoable changes every open editor sees; if anything moved since, nothing is changed and the new report is returned. projectIds limits it to those projects (default: every project holding a copy). Published releases never change. Applying needs the template:update right.
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": {
"templateId": "<templateId>"
},
"name": "r3_entity_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reportId | No | The report being applied, from this tool without reportId. Leave it out to plan. | |
| projectIds | No | Only these projects (default: every project of the account holding a copy). | |
| removeGone | No | Also remove the parts the newest version no longer has (default false: kept and listed). Plan with it and apply that report with it. | |
| templateId | Yes | The template (r3_entity_list shows its templateId). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| answer | Yes | This answer in words: what was done, what R3 measured, decided or refused, and what to do next. The same text as the result's text block. Read it: the fields beside it are the data, this is the guidance. | |
| applied | Yes | ||
| updated | Yes | ||
| projects | Yes | ||
| reportId | Yes | ||
| toVersion | Yes | ||
| removeGone | Yes | ||
| templateId | Yes | ||
| environment | Yes |