Skip to content

Commit 5447a1d

Browse files
committed
Formatting and fixes
1 parent 2bf55a6 commit 5447a1d

File tree

4 files changed

+211
-70
lines changed

4 files changed

+211
-70
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,8 @@ The following sets of tools are available (all are on by default):
708708
- `query`: Filter projects by a search query (matches title and description) (string, optional)
709709

710710
- **update_project_item** - Update project item
711-
- `item_id`: The numeric ID of the issue or pull request to add to the project. (number, required)
712-
- `new_field`: Object consisting of the ID of the project field to update and the new value for the field. To clear the field, set this to null. Example: {"id": 123456, "value": "New Value"} (object, required)
711+
- `item_id`: The unique identifier of the project item. This is not the issue or pull request ID. (number, required)
712+
- `new_field`: Object consisting of the ID of the project field to update and the new value for the field. To clear the field, set "value" to null. Example: {"id": 123456, "value": "New Value"} (object, 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/__toolsnaps__/update_project_item.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"inputSchema": {
88
"properties": {
99
"item_id": {
10-
"description": "The numeric ID of the issue or pull request to add to the project.",
10+
"description": "The unique identifier of the project item. This is not the issue or pull request ID.",
1111
"type": "number"
1212
},
1313
"new_field": {
14-
"description": "Object consisting of the ID of the project field to update and the new value for the field. To clear the field, set this to null. Example: {\"id\": 123456, \"value\": \"New Value\"}",
14+
"description": "Object consisting of the ID of the project field to update and the new value for the field. To clear the field, set \"value\" to null. Example: {\"id\": 123456, \"value\": \"New Value\"}",
1515
"properties": {},
1616
"type": "object"
1717
},

0 commit comments

Comments
 (0)