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
+50-40Lines changed: 50 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -796,54 +796,64 @@ Options are:
796
796
<summary>Projects</summary>
797
797
798
798
-**project_read** - Read project information
799
-
-`after`: Forward pagination cursor. Use ONLY if the previous response pageInfo.hasNextPage=true. Supply pageInfo.nextCursor as 'after' and immediately request the next page. LOOP UNTIL pageInfo.hasNextPage=false (don't stop early). Keep query, fields, and per_page identical for every page. (string, optional)
799
+
-`after`: Forward pagination cursor. Use when the previous response's pageInfo.hasNextPage=true. Supply pageInfo.nextCursor as 'after' and immediately request the next page. LOOP UNTIL pageInfo.hasNextPage=false (don't stop early). Keep query, fields, and per_page identical for every page. (string, optional)
800
800
-`before`: Backward pagination cursor (rare): supply to move to the preceding page using pageInfo.prevCursor. Not needed for normal forward iteration. (string, optional)
801
801
-`field_id`: Field ID (required for get_project_field) (number, optional)
802
802
-`fields`: Field IDs to include (e.g. ["102589", "985201"]). CRITICAL: Always provide to get field values. Without this, only titles returned. Get IDs from list_project_fields first. (string[], optional)
803
803
-`item_id`: Item ID (required for get_project_item) (number, optional)
804
804
-`method`: Read operation: get_project, list_projects, get_project_field, list_project_fields (call FIRST for IDs), get_project_item, list_project_items (use query + fields) (string, required)
805
805
-`owner`: GitHub username or org name (case-insensitive) (string, required)
806
806
-`owner_type`: Owner type: 'user' or 'org' (string, required)
807
-
-`per_page`: Results per page (max 20). Keep constant across paginated requests; changing mid-sequence can complicate page traversal. (number, optional)
807
+
-`per_page`: Results per page (max 50). Keep constant across paginated requests; changing mid-sequence can complicate page traversal. (number, optional)
808
808
-`project_number`: Project number (required for most methods) (number, optional)
809
-
-`query`: Query string to filter project items (highly recommended for list_project_items).
810
-
CRITICAL: Always include this when calling list_project_items.
811
-
812
-
list_project_items instructions:
813
-
814
-
Derive the query from the user's natural language intent BEFORE invoking the tool. Map phrases directly:
When pageInfo.hasNextPage=true, use after=nextCursor to request the next page. Keep query, fields, and per_page identical for every page. Repeat until pageInfo.hasNextPage=false.
846
-
(string, optional)
809
+
-`query`: Query string (used ONLY with list_projects and list_project_items).
810
+
811
+
Pattern Split:
812
+
813
+
1. list_projects (project metadata only):
814
+
Scope: title text + open/closed state.
815
+
PERMITTED qualifiers: is:open, is:closed (state), simple title terms.
Do not analyze until ALL pages fetched (loop while pageInfo.hasNextPage=true). Always reuse identical query, fields, per_page.
850
+
851
+
Recovery Guidance:
852
+
If user provides ambiguous request ("show project activity") → ask clarification OR return mixed set (omit is:issue/is:pr). If user mixes project + item qualifiers in one phrase → split: run list_projects for discovery, then list_project_items for detail.
853
+
854
+
Never:
855
+
- Infer field IDs; fetch via list_project_fields.
856
+
- Drop 'fields' param on subsequent pages if field values are needed. (string, optional)
847
857
848
858
-**project_write** - Modify project items
849
859
-`item_id`: For add: issue/PR ID. For update/delete: project item ID (not issue/PR ID) (number, required)
0 commit comments