create_branch
Create a new environment branch in your Magento Cloud project by cloning the integration environment. Provide a project ID and branch name to set up development or testing environments.
Instructions
Create a new environment branch from integration. The new branch will be a clone of the integration environment.
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": "<project>",
"branch_name": "<branch_name>"
},
"name": "create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Human-readable title for the branch. Defaults to the branch name if not provided. | |
| project | Yes | The Magento Cloud project ID | |
| branch_name | Yes | The branch name (ID) for the new environment, e.g. 'feature-xyz', 'bugfix-123' |