remove old non-consolidated actions tools

This commit is contained in:
Matt Holloway
2025-12-24 10:08:06 +00:00
parent 63c7db030a
commit eb8da41199
18 changed files with 0 additions and 3708 deletions
-88
View File
@@ -524,30 +524,6 @@ The following sets of tools are available:
- `run_id`: The ID of the workflow run. Required for all methods except 'run_workflow'. (number, optional)
- `workflow_id`: The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml). Required for 'run_workflow' method. (string, optional)
- **cancel_workflow_run** - Cancel workflow run
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)
- **delete_workflow_run_logs** - Delete workflow logs
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)
- **download_workflow_run_artifact** - Download workflow artifact
- `artifact_id`: The unique identifier of the artifact (number, required)
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- **get_job_logs** - Get job logs
- `failed_only`: When true, gets logs for all failed jobs in run_id (boolean, optional)
- `job_id`: The unique identifier of the workflow job (required for single job logs) (number, optional)
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `return_content`: Returns actual log content instead of URLs (boolean, optional)
- `run_id`: Workflow run ID (required when using failed_only) (number, optional)
- `tail_lines`: Number of lines to return from the end of the log (number, optional)
- **get_job_logs** - Get GitHub Actions workflow job logs
- `failed_only`: When true, gets logs for all failed jobs in the workflow run specified by run_id. Requires run_id to be provided. (boolean, optional)
- `job_id`: The unique identifier of the workflow job. Required when getting logs for a single job. (number, optional)
@@ -557,70 +533,6 @@ The following sets of tools are available:
- `run_id`: The unique identifier of the workflow run. Required when failed_only is true to get logs for all failed jobs in the run. (number, optional)
- `tail_lines`: Number of lines to return from the end of the log (number, optional)
- **get_workflow_run** - Get workflow run
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)
- **get_workflow_run_logs** - Get workflow run logs
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)
- **get_workflow_run_usage** - Get workflow usage
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)
- **list_workflow_jobs** - List workflow jobs
- `filter`: Filters jobs by their completed_at timestamp (string, optional)
- `owner`: Repository owner (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)
- **list_workflow_run_artifacts** - List workflow artifacts
- `owner`: Repository owner (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)
- **list_workflow_runs** - List workflow runs
- `actor`: Returns someone's workflow runs. Use the login for the user who created the workflow run. (string, optional)
- `branch`: Returns workflow runs associated with a branch. Use the name of the branch. (string, optional)
- `event`: Returns workflow runs for a specific event type (string, optional)
- `owner`: Repository owner (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `repo`: Repository name (string, required)
- `status`: Returns workflow runs with the check run status (string, optional)
- `workflow_id`: The workflow ID or workflow file name (string, required)
- **list_workflows** - List workflows
- `owner`: Repository owner (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `repo`: Repository name (string, required)
- **rerun_failed_jobs** - Rerun failed jobs
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)
- **rerun_workflow_run** - Rerun workflow run
- `owner`: Repository owner (string, required)
- `repo`: Repository name (string, required)
- `run_id`: The unique identifier of the workflow run (number, required)
- **run_workflow** - Run workflow
- `inputs`: Inputs the workflow accepts (object, optional)
- `owner`: Repository owner (string, required)
- `ref`: The git reference for the workflow. The reference can be a branch or tag name. (string, required)
- `repo`: Repository name (string, required)
- `workflow_id`: The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml) (string, required)
</details>
<details>
@@ -1,29 +0,0 @@
{
"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"
}
@@ -1,30 +0,0 @@
{
"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"
}
@@ -1,30 +0,0 @@
{
"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"
}
@@ -1,46 +0,0 @@
{
"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"
}
@@ -1,30 +0,0 @@
{
"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"
}
@@ -1,30 +0,0 @@
{
"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"
}
@@ -1,30 +0,0 @@
{
"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"
}
@@ -1,49 +0,0 @@
{
"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"
}
@@ -1,41 +0,0 @@
{
"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"
}
@@ -1,98 +0,0 @@
{
"annotations": {
"readOnlyHint": true,
"title": "List workflow runs"
},
"description": "List workflow runs for a specific workflow",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo",
"workflow_id"
],
"properties": {
"actor": {
"type": "string",
"description": "Returns someone's workflow runs. Use the login for the user who created the workflow run."
},
"branch": {
"type": "string",
"description": "Returns workflow runs associated with a branch. Use the name of the branch."
},
"event": {
"type": "string",
"description": "Returns workflow runs for a specific event type",
"enum": [
"branch_protection_rule",
"check_run",
"check_suite",
"create",
"delete",
"deployment",
"deployment_status",
"discussion",
"discussion_comment",
"fork",
"gollum",
"issue_comment",
"issues",
"label",
"merge_group",
"milestone",
"page_build",
"public",
"pull_request",
"pull_request_review",
"pull_request_review_comment",
"pull_request_target",
"push",
"registry_package",
"release",
"repository_dispatch",
"schedule",
"status",
"watch",
"workflow_call",
"workflow_dispatch",
"workflow_run"
]
},
"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"
},
"status": {
"type": "string",
"description": "Returns workflow runs with the check run status",
"enum": [
"queued",
"in_progress",
"completed",
"requested",
"waiting"
]
},
"workflow_id": {
"type": "string",
"description": "The workflow ID or workflow file name"
}
}
},
"name": "list_workflow_runs"
}
@@ -1,36 +0,0 @@
{
"annotations": {
"readOnlyHint": true,
"title": "List workflows"
},
"description": "List workflows in a repository",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo"
],
"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"
}
}
},
"name": "list_workflows"
}
@@ -1,29 +0,0 @@
{
"annotations": {
"title": "Rerun failed jobs"
},
"description": "Re-run only the failed jobs in 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": "rerun_failed_jobs"
}
@@ -1,29 +0,0 @@
{
"annotations": {
"title": "Rerun workflow run"
},
"description": "Re-run an entire 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": "rerun_workflow_run"
}
@@ -1,38 +0,0 @@
{
"annotations": {
"title": "Run workflow"
},
"description": "Run an Actions workflow by workflow ID or filename",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo",
"workflow_id",
"ref"
],
"properties": {
"inputs": {
"type": "object",
"description": "Inputs the workflow accepts"
},
"owner": {
"type": "string",
"description": "Repository owner"
},
"ref": {
"type": "string",
"description": "The git reference for the workflow. The reference can be a branch or tag name."
},
"repo": {
"type": "string",
"description": "Repository name"
},
"workflow_id": {
"type": "string",
"description": "The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml)"
}
}
},
"name": "run_workflow"
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
-15
View File
@@ -241,21 +241,6 @@ func AllTools(t translations.TranslationHelperFunc) []inventory.ServerTool {
ListDiscussionCategories(t),
// Actions tools
ListWorkflows(t),
ListWorkflowRuns(t),
GetWorkflowRun(t),
GetWorkflowRunLogs(t),
ListWorkflowJobs(t),
GetJobLogs(t),
ListWorkflowRunArtifacts(t),
DownloadWorkflowRunArtifact(t),
GetWorkflowRunUsage(t),
RunWorkflow(t),
RerunWorkflowRun(t),
RerunFailedJobs(t),
CancelWorkflowRun(t),
DeleteWorkflowRunLogs(t),
// Consolidated Actions tools (enabled via feature flag)
ActionsList(t),
ActionsGet(t),
ActionsRunTrigger(t),