Create PR
lyzr_git_create_prCreate a pull request between two branches of an agent's repo. Specify source and target branches, title, description, and reviewers to merge code changes.
Instructions
Create a pull request between two branches of an agent's 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>",
"source_branch": "<source_branch>",
"target_branch": "<target_branch>",
"title": "<title>"
},
"name": "lyzr_git_create_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Pull request title | |
| agent_id | Yes | Agent id | |
| reviewers | No | List of reviewer usernames | |
| description | No | Pull request description | |
| source_branch | Yes | Source branch | |
| target_branch | Yes | Target branch |