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
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1032,22 +1032,26 @@ The following sets of tools are available:
1032
1032
-`project_number`: The project's number. Required for 'list_project_fields', 'list_project_items', and 'list_project_status_updates' methods. (number, optional)
1033
1033
-`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)
1034
1034
1035
-
-**projects_write** - Modify GitHub Project items
1035
+
-**projects_write** - Manage GitHub Projects
1036
1036
-**Required OAuth Scopes**: `project`
1037
1037
-`body`: The body of the status update (markdown). Used for 'create_project_status_update' method. (string, optional)
1038
+
-`field_name`: The name of the iteration field (e.g. 'Sprint'). Required for 'create_iteration_field' method. (string, optional)
1038
1039
-`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)
1039
1040
-`item_id`: The project item ID. Required for 'update_project_item' and 'delete_project_item' methods. (number, optional)
1040
1041
-`item_owner`: The owner (user or organization) of the repository containing the issue or pull request. Required for 'add_project_item' method. (string, optional)
1041
1042
-`item_repo`: The name of the repository containing the issue or pull request. Required for 'add_project_item' method. (string, optional)
1042
1043
-`item_type`: The item's type, either issue or pull_request. Required for 'add_project_item' method. (string, optional)
1044
+
-`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)
1045
+
-`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)
1043
1046
-`method`: The method to execute (string, required)
1044
1047
-`owner`: The project owner (user or organization login). The name is not case sensitive. (string, required)
1045
-
-`owner_type`: Owner type (user or org). If not provided, will be automatically detected. (string, optional)
1046
-
-`project_number`: The project's number. (number, required)
1048
+
-`owner_type`: Owner type (user or org). Required for 'create_project' method. If not provided for other methods, will be automatically detected. (string, optional)
1049
+
-`project_number`: The project's number. Required for all methods except 'create_project'. (number, optional)
1047
1050
-`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)
1048
-
-`start_date`: The start date of the status update in YYYY-MM-DD format. Used for 'create_project_status_update' method. (string, optional)
1051
+
-`start_date`: Start date in YYYY-MM-DD format. Used for 'create_project_status_update' and 'create_iteration_field' methods. (string, optional)
1049
1052
-`status`: The status of the project. Used for 'create_project_status_update' method. (string, optional)
1050
1053
-`target_date`: The target date of the status update in YYYY-MM-DD format. Used for 'create_project_status_update' method. (string, optional)
1054
+
-`title`: The project title. Required for 'create_project' method. (string, optional)
1051
1055
-`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)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/projects_write.snap
+48-8Lines changed: 48 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,19 @@
1
1
{
2
2
"annotations": {
3
3
"destructiveHint": true,
4
-
"title": "Modify GitHub Project items"
4
+
"title": "Manage GitHub Projects"
5
5
},
6
-
"description": "Add, update, or delete project items, or create status updates in a GitHub Project.",
6
+
"description": "Create and manage GitHub Projects: create projects, add/update/delete items, create status updates, and add iteration fields.",
7
7
"inputSchema": {
8
8
"properties": {
9
9
"body": {
10
10
"description": "The body of the status update (markdown). Used for 'create_project_status_update' method.",
11
11
"type": "string"
12
12
},
13
+
"field_name": {
14
+
"description": "The name of the iteration field (e.g. 'Sprint'). Required for 'create_iteration_field' method.",
15
+
"type": "string"
16
+
},
13
17
"issue_number": {
14
18
"description": "The issue number (use when item_type is 'issue' for 'add_project_item' method). Provide either issue_number or pull_request_number.",
15
19
"type": "number"
@@ -34,13 +38,46 @@
34
38
],
35
39
"type": "string"
36
40
},
41
+
"iteration_duration": {
42
+
"description": "Duration in days for iterations of the field (e.g. 7 for weekly, 14 for bi-weekly). Required for 'create_iteration_field' method.",
43
+
"type": "number"
44
+
},
45
+
"iterations": {
46
+
"description": "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.",
47
+
"items": {
48
+
"additionalProperties": false,
49
+
"properties": {
50
+
"duration": {
51
+
"description": "Duration in days",
52
+
"type": "number"
53
+
},
54
+
"start_date": {
55
+
"description": "Start date in YYYY-MM-DD format",
56
+
"type": "string"
57
+
},
58
+
"title": {
59
+
"description": "Iteration title (e.g. 'Sprint 1')",
60
+
"type": "string"
61
+
}
62
+
},
63
+
"required": [
64
+
"title",
65
+
"start_date",
66
+
"duration"
67
+
],
68
+
"type": "object"
69
+
},
70
+
"type": "array"
71
+
},
37
72
"method": {
38
73
"description": "The method to execute",
39
74
"enum": [
40
75
"add_project_item",
41
76
"update_project_item",
42
77
"delete_project_item",
43
-
"create_project_status_update"
78
+
"create_project_status_update",
79
+
"create_project",
80
+
"create_iteration_field"
44
81
],
45
82
"type": "string"
46
83
},
@@ -49,23 +86,23 @@
49
86
"type": "string"
50
87
},
51
88
"owner_type": {
52
-
"description": "Owner type (user or org). If not provided, will be automatically detected.",
89
+
"description": "Owner type (user or org). Required for 'create_project' method. If not provided for other methods, will be automatically detected.",
53
90
"enum": [
54
91
"user",
55
92
"org"
56
93
],
57
94
"type": "string"
58
95
},
59
96
"project_number": {
60
-
"description": "The project's number.",
97
+
"description": "The project's number. Required for all methods except 'create_project'.",
61
98
"type": "number"
62
99
},
63
100
"pull_request_number": {
64
101
"description": "The pull request number (use when item_type is 'pull_request' for 'add_project_item' method). Provide either issue_number or pull_request_number.",
65
102
"type": "number"
66
103
},
67
104
"start_date": {
68
-
"description": "The start date of the status update in YYYY-MM-DD format. Used for 'create_project_status_update' method.",
105
+
"description": "Start date in YYYY-MM-DD format. Used for 'create_project_status_update' and 'create_iteration_field' methods.",
69
106
"type": "string"
70
107
},
71
108
"status": {
@@ -83,15 +120,18 @@
83
120
"description": "The target date of the status update in YYYY-MM-DD format. Used for 'create_project_status_update' method.",
84
121
"type": "string"
85
122
},
123
+
"title": {
124
+
"description": "The project title. Required for 'create_project' method.",
125
+
"type": "string"
126
+
},
86
127
"updated_field": {
87
128
"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\"}. Required for 'update_project_item' method.",
0 commit comments