branch.register
Record a branch's lineage by hand (for environments created before lineage was automatic): the parent's current schema becomes the fork base. POST /v1/organizations/{id}/projects/{project}/branches.
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": {
"organization_id": "<organization_id>",
"project_id": "<project_id>",
"branch_id": "<branch_id>",
"confirm": "<confirm>"
},
"name": "branch.register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to apply this mutation; otherwise the tool returns the request it would send for approval. | |
| branch_id | Yes | branch_id (required) | |
| project_id | Yes | project_id (required) | |
| organization_id | Yes | organization_id (required) | |
| parent_environment_id | No | Parent environment the branch was cut from |