Switch Branch
lyzr_git_switch_branchSwitch the active git branch for a Lyzr agent by specifying the agent ID and target branch, updating the repository to the desired branch.
Instructions
Switch the active branch for an agent's git repo.
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": {
"agent_id": "<agent_id>",
"branch": "<branch>"
},
"name": "lyzr_git_switch_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch to switch to | |
| agent_id | Yes | Agent id |