cfg_pr_create
Open a cfgit pull request from a head branch into a base branch, specifying environment and commit message to propose config changes for review.
Instructions
Open a cfgit pull request from a head branch into a base branch.
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": {
"head": "<head>",
"message": "<message>"
},
"name": "cfg_pr_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment name from .cfg.toml (e.g. dev, prod). Selects the target database. | dev |
| base | No | The target (base) branch to merge into (defaults to the default branch, usually main). | main |
| head | Yes | The source (head) branch containing the draft commits. | |
| author | No | Author attribution hint. Ignored/rejected in authenticated/enforced identity modes where a verified identity is required. | |
| message | Yes | 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||