layerfs_branch_publish
Publish a branch or specific commit to main as a new immutable layer, making selected workspace changes available in shared version history.
Instructions
Publish a branch (optionally a specific commit) to main as a new immutable layer.
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": {
"branch": "<branch>"
},
"name": "layerfs_branch_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| commit | No |