Skip to content

Commit c7c0ee6

Browse files
mattdhollowaySamMorrowDrums
authored andcommitted
docs update (2)
1 parent 8287d5f commit c7c0ee6

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -981,8 +981,8 @@ The following sets of tools are available:
981981
- `fields`: Specific list of field IDs to include in the response when getting a project item (e.g. ["102589", "985201", "169875"]). If not provided, only the title field is included. Only used for 'get_project_item' method. (string[], optional)
982982
- `item_id`: The item's ID. Required for 'get_project_item' method. (number, optional)
983983
- `method`: The method to execute (string, required)
984-
- `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)
985-
- `owner_type`: Owner type (string, required)
984+
- `owner`: The owner (user or organization login). The name is not case sensitive. (string, required)
985+
- `owner_type`: Owner type (user or org). If not provided, will be automatically detected. (string, optional)
986986
- `project_number`: The project's number. (number, required)
987987

988988
- **projects_list** - List GitHub Projects resources
@@ -992,20 +992,24 @@ The following sets of tools are available:
992992
- `before`: Backward pagination cursor from previous pageInfo.prevCursor (rare). (string, optional)
993993
- `fields`: Field IDs to include when listing project items (e.g. ["102589", "985201"]). CRITICAL: Always provide to get field values. Without this, only titles returned. Only used for 'list_project_items' method. (string[], optional)
994994
- `method`: The action to perform (string, required)
995-
- `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)
996-
- `owner_type`: Owner type (string, required)
995+
- `owner`: The owner (user or organization login). The name is not case sensitive. (string, required)
996+
- `owner_type`: Owner type (user or org). If not provided, will automatically try both. (string, optional)
997997
- `per_page`: Results per page (max 50) (number, optional)
998998
- `project_number`: The project's number. Required for 'list_project_fields' and 'list_project_items' methods. (number, optional)
999999
- `query`: Filter/query string. For list_projects: filter by title text and state (e.g. "roadmap is:open"). For list_project_items: advanced filtering using GitHub's project filtering syntax. (string, optional)
10001000

10011001
- **projects_write** - Modify GitHub Project items
10021002
- **Required OAuth Scopes**: `project`
1003-
- `item_id`: The project item ID. Required for 'update_project_item' and 'delete_project_item' methods. For add_project_item, this is the numeric ID of the issue or pull request to add. (number, optional)
1003+
- `issue_number`: The issue number (use when item_type is 'issue' for 'add_project_item' method). Provide either issue_number or pull_request_number. (number, optional)
1004+
- `item_id`: The project item ID. Required for 'update_project_item' and 'delete_project_item' methods. (number, optional)
1005+
- `item_owner`: The owner (user or organization) of the repository containing the issue or pull request. Required for 'add_project_item' method. (string, optional)
1006+
- `item_repo`: The name of the repository containing the issue or pull request. Required for 'add_project_item' method. (string, optional)
10041007
- `item_type`: The item's type, either issue or pull_request. Required for 'add_project_item' method. (string, optional)
10051008
- `method`: The method to execute (string, required)
1006-
- `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)
1007-
- `owner_type`: Owner type (string, required)
1009+
- `owner`: The project owner (user or organization login). The name is not case sensitive. (string, required)
1010+
- `owner_type`: Owner type (user or org). If not provided, will be automatically detected. (string, optional)
10081011
- `project_number`: The project's number. (number, required)
1012+
- `pull_request_number`: The pull request number (use when item_type is 'pull_request' for 'add_project_item' method). Provide either issue_number or pull_request_number. (number, optional)
10091013
- `updated_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"}. Required for 'update_project_item' method. (object, optional)
10101014

10111015
</details>

0 commit comments

Comments
 (0)