Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@ Options are:
2. get_comments - Get issue comments.
3. get_sub_issues - Get sub-issues of the issue.
4. get_labels - Get labels assigned to the issue.
5. get_relationships - Get relationships (blocks/blocked_by) for the issue.
(string, required)
- `owner`: The owner of the repository (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
Expand All @@ -747,12 +748,16 @@ Options are:
Options are:
- 'create' - creates a new issue.
- 'update' - updates an existing issue.
- 'add_relationship' - add a relationship between two issues.
- 'remove_relationship' - remove a relationship between two issues.
(string, required)
- `milestone`: Milestone number (number, optional)
- `owner`: Repository owner (string, required)
- `relationship`: Relationship between source and target issues (string, optional)
- `repo`: Repository name (string, required)
- `state`: New state (string, optional)
- `state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
- `target_issue_number`: Target issue number for relationship operations (number, optional)
- `title`: Issue title (string, optional)
- `type`: Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter. (string, optional)

Expand Down
5 changes: 3 additions & 2 deletions pkg/github/__toolsnaps__/issue_read.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
},
"method": {
"type": "string",
"description": "The read operation to perform on a single issue.\nOptions are:\n1. get - Get details of a specific issue.\n2. get_comments - Get issue comments.\n3. get_sub_issues - Get sub-issues of the issue.\n4. get_labels - Get labels assigned to the issue.\n",
"description": "The read operation to perform on a single issue.\nOptions are:\n1. get - Get details of a specific issue.\n2. get_comments - Get issue comments.\n3. get_sub_issues - Get sub-issues of the issue.\n4. get_labels - Get labels assigned to the issue.\n5. get_relationships - Get relationships (blocks/blocked_by) for the issue.\n",
"enum": [
"get",
"get_comments",
"get_sub_issues",
"get_labels"
"get_labels",
"get_relationships"
]
},
"owner": {
Expand Down
21 changes: 18 additions & 3 deletions pkg/github/__toolsnaps__/issue_write.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"annotations": {
"title": "Create or update issue."
},
"description": "Create a new or update an existing issue in a GitHub repository.",
"description": "Create, update, or manage relationships for issues in a GitHub repository.",
"inputSchema": {
"type": "object",
"required": [
Expand Down Expand Up @@ -39,10 +39,12 @@
},
"method": {
"type": "string",
"description": "Write operation to perform on a single issue.\nOptions are:\n- 'create' - creates a new issue.\n- 'update' - updates an existing issue.\n",
"description": "Write operation to perform on a single issue.\nOptions are:\n- 'create' - creates a new issue.\n- 'update' - updates an existing issue.\n- 'add_relationship' - add a relationship between two issues.\n- 'remove_relationship' - remove a relationship between two issues.\n",
"enum": [
"create",
"update"
"update",
"add_relationship",
"remove_relationship"
]
},
"milestone": {
Expand All @@ -53,6 +55,15 @@
"type": "string",
"description": "Repository owner"
},
"relationship": {
"type": "string",
"description": "Relationship between source and target issues",
"enum": [
"blocks",
"blocked_by",
"parent"
]
},
"repo": {
"type": "string",
"description": "Repository name"
Expand All @@ -74,6 +85,10 @@
"duplicate"
]
},
"target_issue_number": {
"type": "number",
"description": "Target issue number for relationship operations"
},
"title": {
"type": "string",
"description": "Issue title"
Expand Down
Loading