cfg_pr_merge
Merges open config pull requests through the shared action layer, using atomic batch merges for multi-record changes and leaving runtime unchanged when atomicity is unavailable.
Instructions
Merge an open PR through the shared action layer.
Multi-record PRs use the adapter batch-atomic merge path. If that guarantee
is unavailable, the envelope returns `atomicity_unavailable` and runtime is
left unchanged.
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": {
"id": "<id>"
},
"name": "cfg_pr_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The pull request id to merge. | |
| env | No | Environment name from .cfg.toml (e.g. dev, prod). Selects the target database. | dev |
| author | No | Author attribution hint. Ignored/rejected in authenticated/enforced identity modes where a verified identity is required. | |
| dry_run | No | Run every merge check (stale, drift, validation) and return each record's change against live (state would_merge). Writes nothing. | |
| message | No | Human-readable commit/operation message. | |
| config_file | No | Omit: the server uses the .cfg.toml it started with. A different path is refused unless the server runs with CFGIT_MCP_ALLOW_CONFIG_OVERRIDE=1. | |
| no_validate | No | Skip the collection validator for an emergency write (recorded in history). Off by default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||