apply_merge
Write merged configuration content to a target file, creating a backup of the original.
Instructions
Write LLM-merged content to the target path, creating a backup of the original.
Call this AFTER the LLM has produced the merged content from preview_merge output.
Args: namespace: Profile namespace config_name: Config name that was merged merged_content: The LLM's merged output to write target_path: File path to write the merged content to
Returns: Merge record with backup path, checksums, and status
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": {
"namespace": "<namespace>",
"config_name": "<config_name>",
"merged_content": "<merged_content>",
"target_path": "<target_path>"
},
"name": "apply_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| config_name | Yes | ||
| merged_content | Yes | ||
| target_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||