create_pull_request
Create a pull request to merge a source branch into a target branch, specifying provider, repo, title, and optional description. Get normalized result with ID, state, and URL.
Instructions
Create a pull request from one branch into another.
Args: provider: Provider key. repo: Repository identity. title: Pull-request title. source_branch: Source branch name. target_branch: Destination branch name. description: Optional body text. raw: Include the provider payload.
Returns: Normalized write-result mapping with identifier, state, and URL fields.
Examples:
Input: {"repo": "o/r", "title": "Fix", "source_branch": "bug", "target_branch": "main"}.
Output: {"id": "8", "state": "open", "url": "https://...", ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| repo | Yes | ||
| title | Yes | ||
| provider | Yes | ||
| description | No | ||
| source_branch | Yes | ||
| target_branch | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||