- Notifications
You must be signed in to change notification settings - Fork3.1k
Migrate actions toolset to modelcontextprotocol/go-sdk#1446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
6 commits Select commitHold shift + click to select a range
ee9b88f Initial plan
Copilot7d0d78b Migrate actions toolset to modelcontextprotocol/go-sdk
Copilot9787684 re-add actions toolset
LuluBeatson6c1d24a create toolsnaps
LuluBeatsond2bdb28 create toolsnaps
LuluBeatsonb842d59 Merge branch 'omgitsads/go-sdk' into copilot/migrate-actions-toolset
omgitsadsFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Cancel workflow run" | ||
| }, | ||
| "description": "Cancel a workflow run", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "run_id" | ||
| ], | ||
| "properties": { | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "run_id": { | ||
| "type": "number", | ||
| "description": "The unique identifier of the workflow run" | ||
| } | ||
| } | ||
| }, | ||
| "name": "cancel_workflow_run" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "annotations": { | ||
| "destructiveHint": true, | ||
| "title": "Delete workflow logs" | ||
| }, | ||
| "description": "Delete logs for a workflow run", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "run_id" | ||
| ], | ||
| "properties": { | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "run_id": { | ||
| "type": "number", | ||
| "description": "The unique identifier of the workflow run" | ||
| } | ||
| } | ||
| }, | ||
| "name": "delete_workflow_run_logs" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint": true, | ||
| "title": "Download workflow artifact" | ||
| }, | ||
| "description": "Get download URL for a workflow run artifact", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "artifact_id" | ||
| ], | ||
| "properties": { | ||
| "artifact_id": { | ||
| "type": "number", | ||
| "description": "The unique identifier of the artifact" | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| } | ||
| } | ||
| }, | ||
| "name": "download_workflow_run_artifact" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint": true, | ||
| "title": "Get job logs" | ||
| }, | ||
| "description": "Download logs for a specific workflow job or efficiently get all failed job logs for a workflow run", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo" | ||
| ], | ||
| "properties": { | ||
| "failed_only": { | ||
| "type": "boolean", | ||
| "description": "When true, gets logs for all failed jobs in run_id" | ||
| }, | ||
| "job_id": { | ||
| "type": "number", | ||
| "description": "The unique identifier of the workflow job (required for single job logs)" | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "return_content": { | ||
| "type": "boolean", | ||
| "description": "Returns actual log content instead of URLs" | ||
| }, | ||
| "run_id": { | ||
| "type": "number", | ||
| "description": "Workflow run ID (required when using failed_only)" | ||
| }, | ||
| "tail_lines": { | ||
| "type": "number", | ||
| "description": "Number of lines to return from the end of the log", | ||
| "default": 500 | ||
| } | ||
| } | ||
| }, | ||
| "name": "get_job_logs" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint": true, | ||
| "title": "Get workflow run" | ||
| }, | ||
| "description": "Get details of a specific workflow run", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "run_id" | ||
| ], | ||
| "properties": { | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "run_id": { | ||
| "type": "number", | ||
| "description": "The unique identifier of the workflow run" | ||
| } | ||
| } | ||
| }, | ||
| "name": "get_workflow_run" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint": true, | ||
| "title": "Get workflow run logs" | ||
| }, | ||
| "description": "Download logs for a specific workflow run (EXPENSIVE: downloads ALL logs as ZIP. Consider using get_job_logs with failed_only=true for debugging failed jobs)", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "run_id" | ||
| ], | ||
| "properties": { | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "run_id": { | ||
| "type": "number", | ||
| "description": "The unique identifier of the workflow run" | ||
| } | ||
| } | ||
| }, | ||
| "name": "get_workflow_run_logs" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint": true, | ||
| "title": "Get workflow usage" | ||
| }, | ||
| "description": "Get usage metrics for a workflow run", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "run_id" | ||
| ], | ||
| "properties": { | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "run_id": { | ||
| "type": "number", | ||
| "description": "The unique identifier of the workflow run" | ||
| } | ||
| } | ||
| }, | ||
| "name": "get_workflow_run_usage" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint": true, | ||
| "title": "List workflow jobs" | ||
| }, | ||
| "description": "List jobs for a specific workflow run", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "run_id" | ||
| ], | ||
| "properties": { | ||
| "filter": { | ||
| "type": "string", | ||
| "description": "Filters jobs by their completed_at timestamp", | ||
| "enum": [ | ||
| "latest", | ||
| "all" | ||
| ] | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "page": { | ||
| "type": "number", | ||
| "description": "Page number for pagination (min 1)", | ||
| "minimum": 1 | ||
| }, | ||
| "perPage": { | ||
| "type": "number", | ||
| "description": "Results per page for pagination (min 1, max 100)", | ||
| "minimum": 1, | ||
| "maximum": 100 | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "run_id": { | ||
| "type": "number", | ||
| "description": "The unique identifier of the workflow run" | ||
| } | ||
| } | ||
| }, | ||
| "name": "list_workflow_jobs" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint": true, | ||
| "title": "List workflow artifacts" | ||
| }, | ||
| "description": "List artifacts for a workflow run", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "run_id" | ||
| ], | ||
| "properties": { | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "page": { | ||
| "type": "number", | ||
| "description": "Page number for pagination (min 1)", | ||
| "minimum": 1 | ||
| }, | ||
| "perPage": { | ||
| "type": "number", | ||
| "description": "Results per page for pagination (min 1, max 100)", | ||
| "minimum": 1, | ||
| "maximum": 100 | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "run_id": { | ||
| "type": "number", | ||
| "description": "The unique identifier of the workflow run" | ||
| } | ||
| } | ||
| }, | ||
| "name": "list_workflow_run_artifacts" | ||
| } |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.