layerfs_branch_fork
Creates a writable branch from main, any branch, commit, or layer, enabling isolated work or rewinding to earlier states without rewriting history.
Instructions
Fork a writable branch from main, any branch, commit or layer. Forking an earlier ref provides rewind without rewriting history.
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": {
"name": "<name>"
},
"name": "layerfs_branch_fork"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fromRef | No |