edit_mod_config
Safely edit Minecraft mod config files in config/ with JSON/TOML validation, diff preview, and automatic snapshots before changes.
Instructions
Safely edit a config file inside config/ with JSON/TOML validation, diff preview, and auto-snapshot.
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": {
"instance_path": "<instance_path>",
"config_filename": "<config_filename>",
"new_content": "<new_content>"
},
"name": "edit_mod_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| new_content | Yes | ||
| instance_path | Yes | ||
| config_filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | Yes | ||
| dry_run | Yes | ||
| snapshot_id | Yes | ||
| preview_diff | Yes | ||
| bytes_written | Yes |