Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions docs/feature-flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@ as output formatting) won't appear here.
- `repo`: Repository name (string, required)
- `title`: Issue title (string, required)

- **hide_issue_comment** - Hide Issue Comment
- **OAuth Challenge Scopes**: `repo`
- `classifier`: The reason for hiding the comment (string, required)
- `comment_id`: The numeric ID of the issue or pull request conversation comment (number, required)
- `owner`: Repository owner (username or organization) (string, required)
- `repo`: Repository name (string, required)

- **remove_issue_comment_reaction** - Remove Reaction from Issue or Pull Request Comment
- **OAuth Challenge Scopes**: `repo`
- `comment_id`: The issue or pull request comment ID (number, required)
Expand Down Expand Up @@ -221,6 +228,12 @@ as output formatting) won't appear here.
- `owner`: Repository owner (username or organization) (string, required)
- `repo`: Repository name (string, required)

- **unhide_issue_comment** - Unhide Issue Comment
- **OAuth Challenge Scopes**: `repo`
- `comment_id`: The numeric ID of the issue or pull request conversation comment (number, required)
- `owner`: Repository owner (username or organization) (string, required)
- `repo`: Repository name (string, required)

- **update_issue_assignees** - Update Issue Assignees
- **OAuth Challenge Scopes**: `repo`
- `assignees`: GitHub usernames to assign to this issue. ([], required)
Expand Down Expand Up @@ -315,6 +328,21 @@ as output formatting) won't appear here.
- `pullNumber`: The pull request number (number, required)
- `repo`: Repository name (string, required)

- **hide_pull_request_review** - Hide Pull Request Review
- **OAuth Challenge Scopes**: `repo`
- `classifier`: The reason for hiding the comment (string, required)
- `owner`: Repository owner (username or organization) (string, required)
- `pullNumber`: The pull request number (number, required)
- `repo`: Repository name (string, required)
- `review_id`: The numeric ID of the pull request review (number, required)

- **hide_pull_request_review_comment** - Hide Pull Request Review Comment
- **OAuth Challenge Scopes**: `repo`
- `classifier`: The reason for hiding the comment (string, required)
- `comment_id`: The numeric pull request review comment ID. Use the number from a #discussion_r... anchor, not the GraphQL thread node ID (PRRT_...). (number, required)
- `owner`: Repository owner (username or organization) (string, required)
- `repo`: Repository name (string, required)

- **remove_pull_request_review_comment_reaction** - Remove Pull Request Review Comment Reaction
- **OAuth Challenge Scopes**: `repo`
- `comment_id`: The numeric pull request review comment ID. Use the number from a #discussion_r... anchor, not the GraphQL thread node ID (PRRT_...). (number, required)
Expand All @@ -341,6 +369,19 @@ as output formatting) won't appear here.
- `pullNumber`: The pull request number (number, required)
- `repo`: Repository name (string, required)

- **unhide_pull_request_review** - Unhide Pull Request Review
- **OAuth Challenge Scopes**: `repo`
- `owner`: Repository owner (username or organization) (string, required)
- `pullNumber`: The pull request number (number, required)
- `repo`: Repository name (string, required)
- `review_id`: The numeric ID of the pull request review (number, required)

- **unhide_pull_request_review_comment** - Unhide Pull Request Review Comment
- **OAuth Challenge Scopes**: `repo`
- `comment_id`: The numeric pull request review comment ID. Use the number from a #discussion_r... anchor, not the GraphQL thread node ID (PRRT_...). (number, required)
- `owner`: Repository owner (username or organization) (string, required)
- `repo`: Repository name (string, required)

- **unresolve_review_thread** - Unresolve Review Thread
- **OAuth Challenge Scopes**: `repo`
- `threadID`: The node ID of the review thread to unresolve (e.g., PRRT_kwDOxxx) (string, required)
Expand Down
48 changes: 48 additions & 0 deletions pkg/github/__toolsnaps__/hide_issue_comment.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"annotations": {
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Hide Issue Comment"
},
"description": "Hide (minimize) a comment on an issue, or a conversation comment on a pull request. Requires triage or write access to the repository, or being its author.",
"inputSchema": {
"properties": {
"classifier": {
"description": "The reason for hiding the comment",
"enum": [
"SPAM",
"ABUSE",
"OFF_TOPIC",
"OUTDATED",
"DUPLICATE",
"RESOLVED",
"LOW_QUALITY"
],
"type": "string"
},
"comment_id": {
"description": "The numeric ID of the issue or pull request conversation comment",
"minimum": 1,
"type": "number"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
}
},
"required": [
"owner",
"repo",
"comment_id",
"classifier"
],
"type": "object"
},
"name": "hide_issue_comment"
}
54 changes: 54 additions & 0 deletions pkg/github/__toolsnaps__/hide_pull_request_review.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"annotations": {
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Hide Pull Request Review"
},
"description": "Hide (minimize) the body of a submitted pull request review. Requires triage or write access to the repository, or being its author.",
"inputSchema": {
"properties": {
"classifier": {
"description": "The reason for hiding the comment",
"enum": [
"SPAM",
"ABUSE",
"OFF_TOPIC",
"OUTDATED",
"DUPLICATE",
"RESOLVED",
"LOW_QUALITY"
],
"type": "string"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"pullNumber": {
"description": "The pull request number",
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"review_id": {
"description": "The numeric ID of the pull request review",
"minimum": 1,
"type": "number"
}
},
"required": [
"owner",
"repo",
"pullNumber",
"review_id",
"classifier"
],
"type": "object"
},
"name": "hide_pull_request_review"
}
48 changes: 48 additions & 0 deletions pkg/github/__toolsnaps__/hide_pull_request_review_comment.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"annotations": {
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Hide Pull Request Review Comment"
},
"description": "Hide (minimize) an inline review comment on a pull request diff. Requires triage or write access to the repository, or being its author.",
"inputSchema": {
"properties": {
"classifier": {
"description": "The reason for hiding the comment",
"enum": [
"SPAM",
"ABUSE",
"OFF_TOPIC",
"OUTDATED",
"DUPLICATE",
"RESOLVED",
"LOW_QUALITY"
],
"type": "string"
},
"comment_id": {
"description": "The numeric pull request review comment ID. Use the number from a #discussion_r... anchor, not the GraphQL thread node ID (PRRT_...).",
"minimum": 1,
"type": "number"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
}
},
"required": [
"owner",
"repo",
"comment_id",
"classifier"
],
"type": "object"
},
"name": "hide_pull_request_review_comment"
}
34 changes: 34 additions & 0 deletions pkg/github/__toolsnaps__/unhide_issue_comment.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"annotations": {
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Unhide Issue Comment"
},
"description": "Unhide (unminimize) a previously hidden comment on an issue, or conversation comment on a pull request. Requires triage or write access to the repository, or being its author.",
"inputSchema": {
"properties": {
"comment_id": {
"description": "The numeric ID of the issue or pull request conversation comment",
"minimum": 1,
"type": "number"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
}
},
"required": [
"owner",
"repo",
"comment_id"
],
"type": "object"
},
"name": "unhide_issue_comment"
}
40 changes: 40 additions & 0 deletions pkg/github/__toolsnaps__/unhide_pull_request_review.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"annotations": {
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Unhide Pull Request Review"
},
"description": "Unhide (unminimize) the previously hidden body of a submitted pull request review. Requires triage or write access to the repository, or being its author.",
"inputSchema": {
"properties": {
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"pullNumber": {
"description": "The pull request number",
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"review_id": {
"description": "The numeric ID of the pull request review",
"minimum": 1,
"type": "number"
}
},
"required": [
"owner",
"repo",
"pullNumber",
"review_id"
],
"type": "object"
},
"name": "unhide_pull_request_review"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"annotations": {
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Unhide Pull Request Review Comment"
},
"description": "Unhide (unminimize) a previously hidden inline review comment on a pull request diff. Requires triage or write access to the repository, or being its author.",
"inputSchema": {
"properties": {
"comment_id": {
"description": "The numeric pull request review comment ID. Use the number from a #discussion_r... anchor, not the GraphQL thread node ID (PRRT_...).",
"minimum": 1,
"type": "number"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
}
},
"required": [
"owner",
"repo",
"comment_id"
],
"type": "object"
},
"name": "unhide_pull_request_review_comment"
}
Loading
Loading