Skip to content

Commit 0b65b1b

Browse files
authored
Update description (#1319)
1 parent 2592447 commit 0b65b1b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ Options are:
676676
- `state`: New state (string, optional)
677677
- `state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
678678
- `title`: Issue title (string, optional)
679-
- `type`: Type of this issue (string, optional)
679+
- `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)
680680

681681
- **list_issue_types** - List available issue types
682682
- `owner`: The organization owner of the repository (string, required)

pkg/github/__toolsnaps__/issue_write.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"type": "string"
7575
},
7676
"type": {
77-
"description": "Type of this issue",
77+
"description": "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.",
7878
"type": "string"
7979
}
8080
},

pkg/github/issues.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ Options are:
881881
mcp.Description("Milestone number"),
882882
),
883883
mcp.WithString("type",
884-
mcp.Description("Type of this issue"),
884+
mcp.Description("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."),
885885
),
886886
mcp.WithString("state",
887887
mcp.Description("New state"),

0 commit comments

Comments
 (0)