Create a branch
rcs_branchCreate a BRANCH (the branching model — a concurrent line on the SAME codebase, distinct from fork's physical independent copy): create 'branch' at 'from' (a branch name or commit id; omit for the 'main' head), so it starts from that snapshot and diverges as you rcs_commit onto it (branch=) and deploy_ref it (reference=). Returns {RcsCommitted:{app,branch,commit}}.
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": {
"app": "<app>",
"branch": "<branch>"
},
"name": "rcs_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| from | No | ||
| token | No | fallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused | |
| branch | Yes |