Skip to content

Commit e0a462f

Browse files
committed
docs: regenerate README + tool-renaming
1 parent 9ad63b9 commit e0a462f

File tree

2 files changed

+49
-17
lines changed

2 files changed

+49
-17
lines changed

README.md

Lines changed: 48 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,24 @@ The following sets of tools are available:
680680

681681
<summary><picture><source media="(prefers-color-scheme: dark)" srcset="pkg/octicons/icons/comment-discussion-dark.png"><source media="(prefers-color-scheme: light)" srcset="pkg/octicons/icons/comment-discussion-light.png"><img src="pkg/octicons/icons/comment-discussion-light.png" width="20" height="20" alt="comment-discussion"></picture> Discussions</summary>
682682

683+
- **add_discussion_comment** - Add discussion comment
684+
- `body`: Comment body (Markdown) (string, required)
685+
- `discussionNumber`: Discussion Number (number, required)
686+
- `owner`: Repository owner (string, required)
687+
- `reply_to_id`: Optional discussion comment node ID to reply to. (string, optional)
688+
- `repo`: Repository name (string, required)
689+
690+
- **create_discussion** - Create discussion
691+
- `body`: Discussion body (Markdown) (string, required)
692+
- `category_id`: Discussion category node ID. If provided, this is used directly. (string, optional)
693+
- `category_name`: Discussion category name. If provided, it will be resolved to a category ID. (string, optional)
694+
- `owner`: Repository owner (string, required)
695+
- `repo`: Repository name (string, required)
696+
- `title`: Discussion title (string, required)
697+
698+
- **delete_discussion_comment** - Delete discussion comment
699+
- `comment_id`: Discussion comment node ID (string, required)
700+
683701
- **get_discussion** - Get discussion
684702
- `discussionNumber`: Discussion Number (number, required)
685703
- `owner`: Repository owner (string, required)
@@ -705,6 +723,19 @@ The following sets of tools are available:
705723
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
706724
- `repo`: Repository name. If not provided, discussions will be queried at the organisation level. (string, optional)
707725

726+
- **update_discussion** - Update discussion
727+
- `body`: New discussion body (optional) (string, optional)
728+
- `category_id`: New discussion category node ID (optional). If provided, this is used directly. (string, optional)
729+
- `category_name`: New discussion category name (optional). If provided, it will be resolved to a category ID. (string, optional)
730+
- `discussionNumber`: Discussion Number (number, required)
731+
- `owner`: Repository owner (string, required)
732+
- `repo`: Repository name (string, required)
733+
- `title`: New discussion title (optional) (string, optional)
734+
735+
- **update_discussion_comment** - Update discussion comment
736+
- `body`: New comment body (Markdown) (string, required)
737+
- `comment_id`: Discussion comment node ID (string, required)
738+
708739
</details>
709740

710741
<details>
@@ -844,36 +875,24 @@ The following sets of tools are available:
844875

845876
<summary><picture><source media="(prefers-color-scheme: dark)" srcset="pkg/octicons/icons/tag-dark.png"><source media="(prefers-color-scheme: light)" srcset="pkg/octicons/icons/tag-light.png"><img src="pkg/octicons/icons/tag-light.png" width="20" height="20" alt="tag"></picture> Labels</summary>
846877

847-
- **get_label** - Get a specific label from a repository.
848-
- `name`: Label name. (string, required)
849-
- `owner`: Repository owner (username or organization name) (string, required)
850-
- `repo`: Repository name (string, required)
851-
852-
- **list_labels** - List labels from a repository
853-
- `owner`: Repository owner (username or organization name) - required for all operations (string, required)
854-
- `repo`: Repository name - required for all operations (string, required)
855-
856878
- **create_label** - Create a label in a repository.
857879
- `color`: Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). (string, required)
858880
- `description`: Label description text (optional). (string, optional)
859881
- `name`: Label name. (string, required)
860882
- `owner`: Repository owner (username or organization name) (string, required)
861883
- `repo`: Repository name (string, required)
862884

863-
- **update_label** - Update a label in a repository.
864-
- `color`: Label color as 6-character hex code without '#' prefix (optional). (string, optional)
865-
- `description`: Label description text (optional). (string, optional)
866-
- `name`: Label name to update. (string, required)
867-
- `new_name`: New name for the label (optional). (string, optional)
885+
- **delete_label** - Delete a label from a repository.
886+
- `name`: Label name to delete. (string, required)
868887
- `owner`: Repository owner (username or organization name) (string, required)
869888
- `repo`: Repository name (string, required)
870889

871-
- **delete_label** - Delete a label from a repository.
872-
- `name`: Label name to delete. (string, required)
890+
- **get_label** - Get a specific label from a repository.
891+
- `name`: Label name. (string, required)
873892
- `owner`: Repository owner (username or organization name) (string, required)
874893
- `repo`: Repository name (string, required)
875894

876-
- **label_write** - Perform write operations on repository labels (advanced; supports create/update/delete via `method`).
895+
- **label_write** - Write operations on repository labels.
877896
- `color`: Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'. (string, optional)
878897
- `description`: Label description text. Optional for 'create' and 'update'. (string, optional)
879898
- `method`: Operation to perform: 'create', 'update', or 'delete' (string, required)
@@ -882,6 +901,18 @@ The following sets of tools are available:
882901
- `owner`: Repository owner (username or organization name) (string, required)
883902
- `repo`: Repository name (string, required)
884903

904+
- **list_labels** - List labels from a repository
905+
- `owner`: Repository owner (username or organization name) - required for all operations (string, required)
906+
- `repo`: Repository name - required for all operations (string, required)
907+
908+
- **update_label** - Update a label in a repository.
909+
- `color`: Label color as 6-character hex code without '#' prefix (optional). (string, optional)
910+
- `description`: Label description text (optional). (string, optional)
911+
- `name`: Label name to update. (string, required)
912+
- `new_name`: New name for the label (optional). (string, optional)
913+
- `owner`: Repository owner (username or organization name) (string, required)
914+
- `repo`: Repository name (string, required)
915+
885916
</details>
886917

887918
<details>

docs/tool-renaming.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Will get `issue_read` and `get_file_contents` tools registered, with no errors.
5555
| `get_workflow_run` | `actions_get` |
5656
| `get_workflow_run_logs` | `actions_get` |
5757
| `get_workflow_run_usage` | `actions_get` |
58+
| `list_label` | `list_labels` |
5859
| `list_workflow_jobs` | `actions_list` |
5960
| `list_workflow_run_artifacts` | `actions_list` |
6061
| `list_workflow_runs` | `actions_list` |

0 commit comments

Comments
 (0)