You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`field_id`: The field's ID. Required for 'get_project_field' method. (number, optional)
1037
-
-`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)
1037
+
-`field_names`: Specific list of field names to include in the response when getting a project item (e.g. ["Status", "Priority"]). Resolved server-side to field IDs — pass this instead of 'fields' when you only know the human-readable names. Only used for 'get_project_item' method. (string[], optional)
1038
+
-`fields`: Specific list of field IDs to include in the response when getting a project item (e.g. ["102589", "985201", "169875"]). If neither 'fields' nor 'field_names' is provided, only the title field is included. Only used for 'get_project_item' method. (string[], optional)
1038
1039
-`item_id`: The item's ID. Required for 'get_project_item' method. (number, optional)
1039
1040
-`method`: The method to execute (string, required)
1040
1041
-`owner`: The owner (user or organization login). The name is not case sensitive. (string, optional)
@@ -1047,7 +1048,8 @@ The following sets of tools are available:
-`after`: Forward pagination cursor from previous pageInfo.nextCursor. (string, optional)
1049
1050
-`before`: Backward pagination cursor from previous pageInfo.prevCursor (rare). (string, optional)
1050
-
-`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)
1051
+
-`field_names`: Field names to include when listing project items (e.g. ["Status", "Priority"]). Resolved server-side to field IDs — pass this instead of 'fields' when you only know the human-readable names. Names that fail to resolve return a structured error. Only used for 'list_project_items' method. (string[], optional)
1052
+
-`fields`: Field IDs to include when listing project items (e.g. ["102589", "985201"]). CRITICAL: Always provide to get field values. Without this (and without 'field_names'), only titles returned. Only used for 'list_project_items' method. (string[], optional)
1051
1053
-`method`: The action to perform (string, required)
1052
1054
-`owner`: The owner (user or organization login). The name is not case sensitive. (string, required)
1053
1055
-`owner_type`: Owner type (user or org). If not provided, will automatically try both. (string, optional)
@@ -1059,10 +1061,10 @@ The following sets of tools are available:
1059
1061
-**Required OAuth Scopes**: `project`
1060
1062
-`body`: The body of the status update (markdown). Used for 'create_project_status_update' method. (string, optional)
1061
1063
-`field_name`: The name of the iteration field (e.g. 'Sprint'). Required for 'create_iteration_field' method. (string, optional)
1062
-
-`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)
1063
-
-`item_id`: The project item ID. Required for 'update_project_item' and 'delete_project_item' methods. (number, optional)
1064
-
-`item_owner`: The owner (user or organization) of the repository containing the issue or pull request. Required for 'add_project_item' method. (string, optional)
1065
-
-`item_repo`: The name of the repository containing the issue or pull request. Required for 'add_project_item' method. (string, optional)
1064
+
-`issue_number`: The issue number. Required for 'add_project_item' when item_type is 'issue'. Also accepted by 'update_project_item' to resolve the item by issue number (combine with item_owner and item_repo). (number, optional)
1065
+
-`item_id`: The project item ID. Required for 'delete_project_item'. For 'update_project_item', provide either item_id, or (item_owner + item_repo + issue_number) to resolve the item by issue. (number, optional)
1066
+
-`item_owner`: The owner (user or organization) of the repository containing the issue or pull request. Required for 'add_project_item' method. Also accepted by 'update_project_item' when resolving the item by issue number. (string, optional)
1067
+
-`item_repo`: The name of the repository containing the issue or pull request. Required for 'add_project_item' method. Also accepted by 'update_project_item' when resolving the item by issue number. (string, optional)
1066
1068
-`item_type`: The item's type, either issue or pull_request. Required for 'add_project_item' method. (string, optional)
1067
1069
-`iteration_duration`: Duration in days for iterations of the field (e.g. 7 for weekly, 14 for bi-weekly). Required for 'create_iteration_field' method. (number, optional)
1068
1070
-`iterations`: Custom iterations for 'create_iteration_field' method. Only set this when you need iterations with varying durations, breaks between them, or specific titles. Otherwise omit it: GitHub auto-creates three iterations of 'iteration_duration' days starting on 'start_date', which is the right choice for most cases. (object[], optional)
@@ -1075,7 +1077,7 @@ The following sets of tools are available:
1075
1077
-`status`: The status of the project. Used for 'create_project_status_update' method. (string, optional)
1076
1078
-`target_date`: The target date of the status update in YYYY-MM-DD format. Used for 'create_project_status_update' method. (string, optional)
1077
1079
-`title`: The project title. Required for 'create_project' method. (string, optional)
1078
-
-`updated_field`: Object consisting of the ID of the project field to update and the new valuefor the field. To clear the field, set value to null. Example: {"id": 123456, "value": "New Value"}. Required for 'update_project_item' method. (object, optional)
1080
+
-`updated_field`: Object describing the field to update and its new value. Required for 'update_project_item'. Two shapes are accepted: (1) by ID — {"id": 123456, "value": "..."}; (2) by name — {"name": "Status", "value": "In Progress"}. For single-select fields, the value may be the option name (resolved server-side) or the option ID. Set value to null to clear the field. (object, optional)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/projects_get.snap
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,15 @@
10
10
"description": "The field's ID. Required for 'get_project_field' method.",
11
11
"type": "number"
12
12
},
13
+
"field_names": {
14
+
"description": "Specific list of field names to include in the response when getting a project item (e.g. [\"Status\", \"Priority\"]). Resolved server-side to field IDs — pass this instead of 'fields' when you only know the human-readable names. Only used for 'get_project_item' method.",
15
+
"items": {
16
+
"type": "string"
17
+
},
18
+
"type": "array"
19
+
},
13
20
"fields": {
14
-
"description": "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.",
21
+
"description": "Specific list of field IDs to include in the response when getting a project item (e.g. [\"102589\", \"985201\", \"169875\"]). If neither 'fields' nor 'field_names' is provided, only the title field is included. Only used for 'get_project_item' method.",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/projects_list.snap
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,15 @@
14
14
"description": "Backward pagination cursor from previous pageInfo.prevCursor (rare).",
15
15
"type": "string"
16
16
},
17
+
"field_names": {
18
+
"description": "Field names to include when listing project items (e.g. [\"Status\", \"Priority\"]). Resolved server-side to field IDs — pass this instead of 'fields' when you only know the human-readable names. Names that fail to resolve return a structured error. Only used for 'list_project_items' method.",
19
+
"items": {
20
+
"type": "string"
21
+
},
22
+
"type": "array"
23
+
},
17
24
"fields": {
18
-
"description": "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.",
25
+
"description": "Field IDs to include when listing project items (e.g. [\"102589\", \"985201\"]). CRITICAL: Always provide to get field values. Without this (and without 'field_names'), only titles returned. Only used for 'list_project_items' method.",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/projects_write.snap
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -15,19 +15,19 @@
15
15
"type": "string"
16
16
},
17
17
"issue_number": {
18
-
"description": "The issue number (use when item_type is 'issue' for 'add_project_item' method). Provide either issue_number or pull_request_number.",
18
+
"description": "The issue number. Required for 'add_project_item' when item_type is 'issue'. Also accepted by 'update_project_item' to resolve the item by issue number (combine with item_owner and item_repo).",
19
19
"type": "number"
20
20
},
21
21
"item_id": {
22
-
"description": "The project item ID. Required for 'update_project_item' and 'delete_project_item' methods.",
22
+
"description": "The project item ID. Required for 'delete_project_item'. For 'update_project_item', provide either item_id, or (item_owner + item_repo + issue_number) to resolve the item by issue.",
23
23
"type": "number"
24
24
},
25
25
"item_owner": {
26
-
"description": "The owner (user or organization) of the repository containing the issue or pull request. Required for 'add_project_item' method.",
26
+
"description": "The owner (user or organization) of the repository containing the issue or pull request. Required for 'add_project_item' method. Also accepted by 'update_project_item' when resolving the item by issue number.",
27
27
"type": "string"
28
28
},
29
29
"item_repo": {
30
-
"description": "The name of the repository containing the issue or pull request. Required for 'add_project_item' method.",
30
+
"description": "The name of the repository containing the issue or pull request. Required for 'add_project_item' method. Also accepted by 'update_project_item' when resolving the item by issue number.",
31
31
"type": "string"
32
32
},
33
33
"item_type": {
@@ -125,7 +125,7 @@
125
125
"type": "string"
126
126
},
127
127
"updated_field": {
128
-
"description": "Object consisting of the ID of the project field to update and the new valuefor the field. To clear the field, set value to null. Example: {\"id\": 123456, \"value\": \"New Value\"}. Required for 'update_project_item' method.",
128
+
"description": "Object describing the field to update and its new value. Required for 'update_project_item'. Two shapes are accepted: (1) by ID — {\"id\": 123456, \"value\": \"...\"}; (2) by name — {\"name\": \"Status\", \"value\": \"In Progress\"}. For single-select fields, the value may be the option name (resolved server-side) or the option ID. Set value to null to clear the field.",
0 commit comments