Skip to content

Commit f4bbd39

Browse files
JoannaaKLCopilot
andcommitted
Update pkg/github/projects.go
Co-authored-by: Copilot <[email protected]>
1 parent 7463e5f commit f4bbd39

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ The following sets of tools are available (all are on by default):
666666
- `project_number`: The project's number. (number, required)
667667

668668
- **delete_project_item** - Delete project item
669-
- `item_id`: The numeric ID of the issue or pull request to delete from the project. (number, required)
669+
- `item_id`: The internal project item ID to delete from the project (not the issue or pull request ID). (number, required)
670670
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
671671
- `owner_type`: Owner type (string, required)
672672
- `project_number`: The project's number. (number, required)
@@ -709,7 +709,7 @@ The following sets of tools are available (all are on by default):
709709

710710
- **update_project_item** - Update project item
711711
- `fields`: A list of field updates to apply. (array, required)
712-
- `item_id`: The numeric ID of the issue or pull request to update in the project. (number, required)
712+
- `item_id`: The numeric ID of the project item to update (not the issue or pull request ID). (number, required)
713713
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
714714
- `owner_type`: Owner type (string, required)
715715
- `project_number`: The project's number. (number, required)

pkg/github/projects.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ func DeleteProjectItem(getClient GetClientFn, t translations.TranslationHelperFu
565565
mcp.WithString("owner_type", mcp.Required(), mcp.Description("Owner type"), mcp.Enum("user", "org")),
566566
mcp.WithString("owner", mcp.Required(), mcp.Description("If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.")),
567567
mcp.WithNumber("project_number", mcp.Required(), mcp.Description("The project's number.")),
568-
mcp.WithNumber("item_id", mcp.Required(), mcp.Description("The numeric ID of the issue or pull request to delete from the project.")),
568+
mcp.WithNumber("item_id", mcp.Required(), mcp.Description("The internal project item ID to delete from the project (not the issue or pull request ID).")),
569569
), func(ctx context.Context, req mcp.CallToolRequest) (*mcp.CallToolResult, error) {
570570
owner, err := RequiredParam[string](req, "owner")
571571
if err != nil {

0 commit comments

Comments
 (0)