save_cxt
Validate edited ladder logic and save as CXT, refusing source overwrites unless explicitly allowed.
Instructions
Validate and save edited source as CXT. Source overwrite is refused unless explicitly allowed.
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_id": "<project_id>",
"output_path": "<output_path>"
},
"name": "save_cxt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | No | ||
| project_id | Yes | ||
| output_path | Yes | ||
| expected_revision | No | ||
| allow_source_overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||