xmlchange
Change a CESM XML configuration variable to control simulation settings such as run length. Confirm the current value with xmlquery before executing the change.
Instructions
Change a CESM XML configuration variable.
Runs ./xmlchange = from the case directory. Example: variable='STOP_N', value='5' sets the run length to 5 time units. Use xmlquery first to confirm the current value before changing.
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": {
"case_dir": "<case_dir>",
"variable": "<variable>",
"value": "<value>"
},
"name": "xmlchange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_dir | Yes | ||
| variable | Yes | ||
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |