Write Arma Reforger Project File
write_project_filePreview or atomically write text resources to Arma Reforger addons, using SHA-256 to detect concurrent changes.
Instructions
EN: Preview or atomically write an approved text resource inside an addon with optional SHA-256 concurrency protection. DE: Eine freigegebene Textressource innerhalb eines Addons mit optionalem SHA-256-Aenderungsschutz vorpruefen oder atomar schreiben.
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": {
"project": "<project>",
"path": "<path>",
"content": "<content>"
},
"name": "write_project_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| dryRun | No | ||
| content | Yes | ||
| project | Yes | ||
| expectedSha256 | No | ||
| createDirectories | No |