Check a DayZ XML or JSON file
validate_config_fileCheck a DayZ server file (types.xml, events.xml, cfgspawnabletypes.xml, globals.xml, mapgroupproto.xml, cfggameplay.json, mod configs) for syntax errors the server would choke on: unclosed tags, raw &, wrong nesting, trailing commas, comments, BOM. Finds all errors at once with line and column, not just the first.
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": {
"content": "<content>"
},
"name": "validate_config_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for names, descriptions and links | en |
| content | Yes | Full file content | |
| file_name | No | Used to tell XML from JSON |