_create_pull_request
Create a pull request between source and target branches in a SourceCraft repository, with title, description, and reviewers to merge code changes.
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>",
"source_branch": "<source_branch>",
"target_branch": "<target_branch>"
},
"name": "_create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| owner | Yes | ||
| title | Yes | ||
| publish | No | ||
| description | No | ||
| reviewer_ids | No | ||
| source_branch | Yes | ||
| target_branch | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |