Skip to content

Commit 4e16587

Browse files
committed
update docs
1 parent a5db151 commit 4e16587

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -532,15 +532,6 @@ The following sets of tools are available (all are on by default):
532532
- `title`: Issue title (string, required)
533533
- `type`: Type of this issue (string, optional)
534534

535-
- **crud_label** - CRUD label
536-
- `color`: Label color as a 6-character hex code without '#', e.g. 'f29513' (create/update) (string, optional)
537-
- `description`: Label description (create/update) (string, optional)
538-
- `method`: Operation to perform: create, get, update or delete (string, required)
539-
- `name`: Label name (for get/update/delete or to create with this name). For 'get' method: optional - if provided, gets specific label; if omitted, lists all labels. (string, optional)
540-
- `new_name`: New name for the label (update only) (string, optional)
541-
- `owner`: Repository owner (string, optional)
542-
- `repo`: Repository name (string, optional)
543-
544535
- **get_issue** - Get issue details
545536
- `issue_number`: The number of the issue (number, required)
546537
- `owner`: The owner of the repository (string, required)
@@ -553,11 +544,20 @@ The following sets of tools are available (all are on by default):
553544
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
554545
- `repo`: Repository name (string, required)
555546

556-
- **issue_label** - Manage issue labels
557-
- `issue_number`: Issue number (number, required)
558-
- `labels`: Label names for add/remove operations (not used for list) (string[], optional)
559-
- `method`: Operation to perform: list, add, or remove (string, required)
560-
- `owner`: Repository owner (string, required)
547+
- **issue_label** - Manage issue labels - list, add, remove
548+
- `issue_number`: Issue number - required for all operations to identify the specific issue (number, required)
549+
- `labels`: Array of label names to add or remove. REQUIRED for 'add' and 'remove' operations, IGNORED for 'list' operation. (string[], optional)
550+
- `method`: Operation to perform: 'list' (show current labels), 'add' (attach labels), 'remove' (detach labels) (string, required)
551+
- `owner`: Repository owner (username or organization name) - required for all operations (string, required)
552+
- `repo`: Repository name - required for all operations (string, required)
553+
554+
- **label** - Manage label operations - create, read, update, delete
555+
- `color`: Label color as 6-character hex code without '#' prefix, e.g. 'f29513' for orange. REQUIRED for 'create', OPTIONAL for 'update'. (string, optional)
556+
- `description`: Label description text. OPTIONAL for both 'create' and 'update' operations. (string, optional)
557+
- `method`: Create/Read/Update/Delete a github label. (string, required)
558+
- `name`: Label name. REQUIRED for: create, update, delete operations. OPTIONAL for: get operation (if omitted, lists all repository labels; if provided, gets specific label details). (string, optional)
559+
- `new_name`: New name for the label (used only with 'update' method to rename a label) (string, optional)
560+
- `owner`: Repository owner (username or organization name) (string, required)
561561
- `repo`: Repository name (string, required)
562562

563563
- **list_issue_types** - List available issue types

0 commit comments

Comments
 (0)