Open pull request
pr_createOpen a pull request in a Lizard Git repository from a head branch or fork into a base branch, with optional draft status.
Instructions
Open a pull request in a Lizard Git repository from head (a branch, or owner:branch of a fork) into base (default branch if omitted). draft: true opens it as a draft.
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": {
"repo": "<repo>",
"title": "<title>",
"head": "<head>"
},
"name": "pr_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| body | No | ||
| head | Yes | ||
| repo | Yes | Lizard Git repository as "owner/name" (repo_list) | |
| draft | No | ||
| title | Yes |