Create a GitHub issue
github_issue_createCreate a GitHub issue with title, body, labels, assignees, milestone, parent, dependencies, organization fields, and project board values in one call.
Instructions
Create an issue in a repository the viewer may write to, and settle its place in the same call: kind (an Issue Type, else a type: label that is created when missing), labels, assignees (they are notified), milestone, parent and blocked-by issues, organization issue fields, and a project board with field values (the Status starts as Todo, or Waiting when an open issue blocks it). Everything that can fail is checked before the issue is made: the milestone exists (unless create_milestone is true), the issue fields, their options and values exist (a repository without issue fields refuses them), and the board accepts the values. Once the issue exists, a failed kind, parent, blocked_by, issue_fields, project or fields. step does not fail the call: it is listed in errors and the issue is still returned. An issue is 12, #12, owner/repo#12 or its URL; a bare number means the new issue's repository. A board is named by project: its number, owner/number or its URL, used as it is; any other project is a title, and no project is Roadmap: the open board of that whole title is looked up, never guessed, in owner's boards if owner is given, else in the boards linked to repo, then its organization's, then the viewer's. Needs a token with the project scope; if GitHub reports missing scopes, run gh auth refresh -s project.
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": {
"title": "<title>"
},
"name": "github_issue_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Markdown body; empty when left out. | |
| kind | No | Such as bug or feature: the organization's Issue Type of that name, else the type:<kind> label. | |
| repo | No | owner/name; defaults to the working tree's repository (its origin). | |
| title | Yes | The issue's title. | |
| fields | No | Board field values to set, by field name: {"Target": "2026-12-01"}; needs project. A Status given here replaces the default. The issue's organization fields go in issue_fields. | |
| labels | No | Labels to add; they must exist. | |
| parent | No | The parent issue: 12, #12, owner/repo#12 or its URL. | |
| project | No | A board to put the issue on: its number, owner/number or its URL, or its title; none by default. The issue starts as Todo on the board when it has that Status option, or Waiting when it is blocked by an open issue and the board has that option. | |
| assignees | No | Logins, or "@me". | |
| milestone | No | A milestone title. | |
| blocked_by | No | Issues that block this one, in the same forms as parent. | |
| issue_fields | No | The organization's issue fields to set, by field name (without regard to case): {"Priority": "High", "Target date": "2026-12-01"}. Each takes a text, a number, a date as YYYY-MM-DD, an option name, or a list of option names for a multi-select field. | |
| create_milestone | No | Create the milestone when it does not exist; needs milestone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Where the kind landed; null when none was given or its step failed. | |
| repo | Yes | ||
| issue | Yes | ||
| errors | Yes | Failed steps (kind, parent, blocked_by, issue_fields, project, fields.<Name>), keyed by step; {} when none. | |
| foreign | Yes | ||
| project | Yes | The board item; null when no project was given or its step failed. | |
| milestone | Yes | ||
| relations | Yes | ||
| issue_fields | Yes | The new issue's field values, by field name; null when issue_fields was not given, its step failed, or the values could not be read back. |