create_pull_request
Open a new pull request in a Gitea repository to propose code changes by specifying owner, repo, title, and head branch.
Instructions
Creates a new pull request in a Gitea repository.
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": {
"owner": "<owner>",
"repo": "<repo>",
"title": "<title>",
"head": "<head>"
},
"name": "create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | main | |
| body | No | ||
| head | Yes | ||
| repo | Yes | ||
| owner | Yes | ||
| title | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |