branch
Fork a source artifact into a new revision guarded by its expected head, enabling safe alternative deliverables without overwriting existing work.
Instructions
Fork source into a new branch, guarded by the source's expected_head.
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": "<branch>",
"source": "<source>",
"expected_head": "<expected_head>"
},
"name": "branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| source | Yes | ||
| project | Yes | ||
| expected_head | Yes |