Remove old non-consolidated actions and Projects toolsets
This commit removes the old individual tool implementations for Actions and Projects toolsets that have been superseded by consolidated tools (actions_list, actions_get, actions_run_trigger, get_job_logs, projects_list, projects_get, projects_write). Removed old Actions tools: - ListWorkflows, ListWorkflowRuns, RunWorkflow, GetWorkflowRun - GetWorkflowRunLogs, ListWorkflowJobs, GetJobLogs - RerunWorkflowRun, RerunFailedJobs, CancelWorkflowRun - ListWorkflowRunArtifacts, DownloadWorkflowRunArtifact - DeleteWorkflowRunLogs, GetWorkflowRunUsage Removed old Projects tools: - ListProjects, GetProject, ListProjectFields, GetProjectField - ListProjectItems, GetProjectItem, AddProjectItem - UpdateProjectItem, DeleteProjectItem Also removed: - Feature flag constants (FeatureFlagHoldbackConsolidatedActions/Projects) - FeatureFlagDisable from consolidated tools - Old toolsnaps for removed tools - Tests for removed tools - Unused helper function toNewProjectType Co-authored-by: mattdholloway <918573+mattdholloway@users.noreply.github.com>
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"title": "Add project item"
|
||||
},
|
||||
"description": "Add a specific Project item for a user or org",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"item_id": {
|
||||
"description": "The numeric ID of the issue or pull request to add to the project.",
|
||||
"type": "number"
|
||||
},
|
||||
"item_type": {
|
||||
"description": "The item's type, either issue or pull_request.",
|
||||
"enum": [
|
||||
"issue",
|
||||
"pull_request"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"owner": {
|
||||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
|
||||
"type": "string"
|
||||
},
|
||||
"owner_type": {
|
||||
"description": "Owner type",
|
||||
"enum": [
|
||||
"user",
|
||||
"org"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"project_number": {
|
||||
"description": "The project's number.",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner_type",
|
||||
"owner",
|
||||
"project_number",
|
||||
"item_type",
|
||||
"item_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "add_project_item"
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"title": "Cancel workflow run"
|
||||
},
|
||||
"description": "Cancel a workflow run",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"description": "The unique identifier of the workflow run",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"run_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "cancel_workflow_run"
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"destructiveHint": true,
|
||||
"title": "Delete project item"
|
||||
},
|
||||
"description": "Delete a specific Project item for a user or org",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"item_id": {
|
||||
"description": "The internal project item ID to delete from the project (not the issue or pull request ID).",
|
||||
"type": "number"
|
||||
},
|
||||
"owner": {
|
||||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
|
||||
"type": "string"
|
||||
},
|
||||
"owner_type": {
|
||||
"description": "Owner type",
|
||||
"enum": [
|
||||
"user",
|
||||
"org"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"project_number": {
|
||||
"description": "The project's number.",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner_type",
|
||||
"owner",
|
||||
"project_number",
|
||||
"item_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "delete_project_item"
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"destructiveHint": true,
|
||||
"title": "Delete workflow logs"
|
||||
},
|
||||
"description": "Delete logs for a workflow run",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"description": "The unique identifier of the workflow run",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"run_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"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": {
|
||||
"properties": {
|
||||
"artifact_id": {
|
||||
"description": "The unique identifier of the artifact",
|
||||
"type": "number"
|
||||
},
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"artifact_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "download_workflow_run_artifact"
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"readOnlyHint": true,
|
||||
"title": "Get project"
|
||||
},
|
||||
"description": "Get Project for a user or org",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"owner": {
|
||||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
|
||||
"type": "string"
|
||||
},
|
||||
"owner_type": {
|
||||
"description": "Owner type",
|
||||
"enum": [
|
||||
"user",
|
||||
"org"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"project_number": {
|
||||
"description": "The project's number",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"project_number",
|
||||
"owner_type",
|
||||
"owner"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "get_project"
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"readOnlyHint": true,
|
||||
"title": "Get project field"
|
||||
},
|
||||
"description": "Get Project field for a user or org",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"field_id": {
|
||||
"description": "The field's id.",
|
||||
"type": "number"
|
||||
},
|
||||
"owner": {
|
||||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
|
||||
"type": "string"
|
||||
},
|
||||
"owner_type": {
|
||||
"description": "Owner type",
|
||||
"enum": [
|
||||
"user",
|
||||
"org"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"project_number": {
|
||||
"description": "The project's number.",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner_type",
|
||||
"owner",
|
||||
"project_number",
|
||||
"field_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "get_project_field"
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"readOnlyHint": true,
|
||||
"title": "Get project item"
|
||||
},
|
||||
"description": "Get a specific Project item for a user or org",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"fields": {
|
||||
"description": "Specific list of field IDs to include in the response (e.g. [\"102589\", \"985201\", \"169875\"]). If not provided, only the title field is included.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"item_id": {
|
||||
"description": "The item's ID.",
|
||||
"type": "number"
|
||||
},
|
||||
"owner": {
|
||||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
|
||||
"type": "string"
|
||||
},
|
||||
"owner_type": {
|
||||
"description": "Owner type",
|
||||
"enum": [
|
||||
"user",
|
||||
"org"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"project_number": {
|
||||
"description": "The project's number.",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner_type",
|
||||
"owner",
|
||||
"project_number",
|
||||
"item_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "get_project_item"
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"readOnlyHint": true,
|
||||
"title": "Get workflow run"
|
||||
},
|
||||
"description": "Get details of a specific workflow run",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"description": "The unique identifier of the workflow run",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"run_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"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": {
|
||||
"properties": {
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"description": "The unique identifier of the workflow run",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"run_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"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": {
|
||||
"properties": {
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"description": "The unique identifier of the workflow run",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"run_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "get_workflow_run_usage"
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"readOnlyHint": true,
|
||||
"title": "List project fields"
|
||||
},
|
||||
"description": "List Project fields for a user or org",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"after": {
|
||||
"description": "Forward pagination cursor from previous pageInfo.nextCursor.",
|
||||
"type": "string"
|
||||
},
|
||||
"before": {
|
||||
"description": "Backward pagination cursor from previous pageInfo.prevCursor (rare).",
|
||||
"type": "string"
|
||||
},
|
||||
"owner": {
|
||||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
|
||||
"type": "string"
|
||||
},
|
||||
"owner_type": {
|
||||
"description": "Owner type",
|
||||
"enum": [
|
||||
"user",
|
||||
"org"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"per_page": {
|
||||
"description": "Results per page (max 50)",
|
||||
"type": "number"
|
||||
},
|
||||
"project_number": {
|
||||
"description": "The project's number.",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner_type",
|
||||
"owner",
|
||||
"project_number"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "list_project_fields"
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"readOnlyHint": true,
|
||||
"title": "List project items"
|
||||
},
|
||||
"description": "Search project items with advanced filtering",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"after": {
|
||||
"description": "Forward pagination cursor from previous pageInfo.nextCursor.",
|
||||
"type": "string"
|
||||
},
|
||||
"before": {
|
||||
"description": "Backward pagination cursor from previous pageInfo.prevCursor (rare).",
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Field IDs to include (e.g. [\"102589\", \"985201\"]). CRITICAL: Always provide to get field values. Without this, only titles returned.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner": {
|
||||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
|
||||
"type": "string"
|
||||
},
|
||||
"owner_type": {
|
||||
"description": "Owner type",
|
||||
"enum": [
|
||||
"user",
|
||||
"org"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"per_page": {
|
||||
"description": "Results per page (max 50)",
|
||||
"type": "number"
|
||||
},
|
||||
"project_number": {
|
||||
"description": "The project's number.",
|
||||
"type": "number"
|
||||
},
|
||||
"query": {
|
||||
"description": "Query string for advanced filtering of project items using GitHub's project filtering syntax.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner_type",
|
||||
"owner",
|
||||
"project_number"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "list_project_items"
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"readOnlyHint": true,
|
||||
"title": "List projects"
|
||||
},
|
||||
"description": "List Projects for a user or organization",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"after": {
|
||||
"description": "Forward pagination cursor from previous pageInfo.nextCursor.",
|
||||
"type": "string"
|
||||
},
|
||||
"before": {
|
||||
"description": "Backward pagination cursor from previous pageInfo.prevCursor (rare).",
|
||||
"type": "string"
|
||||
},
|
||||
"owner": {
|
||||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
|
||||
"type": "string"
|
||||
},
|
||||
"owner_type": {
|
||||
"description": "Owner type",
|
||||
"enum": [
|
||||
"user",
|
||||
"org"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"per_page": {
|
||||
"description": "Results per page (max 50)",
|
||||
"type": "number"
|
||||
},
|
||||
"query": {
|
||||
"description": "Filter projects by title text and open/closed state; permitted qualifiers: is:open, is:closed; examples: \"roadmap is:open\", \"is:open feature planning\".",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner_type",
|
||||
"owner"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "list_projects"
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"readOnlyHint": true,
|
||||
"title": "List workflow jobs"
|
||||
},
|
||||
"description": "List jobs for a specific workflow run",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"filter": {
|
||||
"description": "Filters jobs by their completed_at timestamp",
|
||||
"enum": [
|
||||
"latest",
|
||||
"all"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"page": {
|
||||
"description": "Page number for pagination (min 1)",
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
"perPage": {
|
||||
"description": "Results per page for pagination (min 1, max 100)",
|
||||
"maximum": 100,
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"description": "The unique identifier of the workflow run",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"run_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "list_workflow_jobs"
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"readOnlyHint": true,
|
||||
"title": "List workflow artifacts"
|
||||
},
|
||||
"description": "List artifacts for a workflow run",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"page": {
|
||||
"description": "Page number for pagination (min 1)",
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
"perPage": {
|
||||
"description": "Results per page for pagination (min 1, max 100)",
|
||||
"maximum": 100,
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"description": "The unique identifier of the workflow run",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"run_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"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": {
|
||||
"properties": {
|
||||
"actor": {
|
||||
"description": "Returns someone's workflow runs. Use the login for the user who created the workflow run.",
|
||||
"type": "string"
|
||||
},
|
||||
"branch": {
|
||||
"description": "Returns workflow runs associated with a branch. Use the name of the branch.",
|
||||
"type": "string"
|
||||
},
|
||||
"event": {
|
||||
"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"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"page": {
|
||||
"description": "Page number for pagination (min 1)",
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
"perPage": {
|
||||
"description": "Results per page for pagination (min 1, max 100)",
|
||||
"maximum": 100,
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"description": "Returns workflow runs with the check run status",
|
||||
"enum": [
|
||||
"queued",
|
||||
"in_progress",
|
||||
"completed",
|
||||
"requested",
|
||||
"waiting"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"workflow_id": {
|
||||
"description": "The workflow ID or workflow file name",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"workflow_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "list_workflow_runs"
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"readOnlyHint": true,
|
||||
"title": "List workflows"
|
||||
},
|
||||
"description": "List workflows in a repository",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"page": {
|
||||
"description": "Page number for pagination (min 1)",
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
"perPage": {
|
||||
"description": "Results per page for pagination (min 1, max 100)",
|
||||
"maximum": 100,
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "list_workflows"
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"title": "Rerun failed jobs"
|
||||
},
|
||||
"description": "Re-run only the failed jobs in a workflow run",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"description": "The unique identifier of the workflow run",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"run_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "rerun_failed_jobs"
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"title": "Rerun workflow run"
|
||||
},
|
||||
"description": "Re-run an entire workflow run",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"description": "The unique identifier of the workflow run",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"run_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "rerun_workflow_run"
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"title": "Run workflow"
|
||||
},
|
||||
"description": "Run an Actions workflow by workflow ID or filename",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"inputs": {
|
||||
"description": "Inputs the workflow accepts",
|
||||
"type": "object"
|
||||
},
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"ref": {
|
||||
"description": "The git reference for the workflow. The reference can be a branch or tag name.",
|
||||
"type": "string"
|
||||
},
|
||||
"repo": {
|
||||
"description": "Repository name",
|
||||
"type": "string"
|
||||
},
|
||||
"workflow_id": {
|
||||
"description": "The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml)",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner",
|
||||
"repo",
|
||||
"workflow_id",
|
||||
"ref"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "run_workflow"
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
{
|
||||
"annotations": {
|
||||
"title": "Update project item"
|
||||
},
|
||||
"description": "Update a specific Project item for a user or org",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"item_id": {
|
||||
"description": "The unique identifier of the project item. This is not the issue or pull request ID.",
|
||||
"type": "number"
|
||||
},
|
||||
"owner": {
|
||||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
|
||||
"type": "string"
|
||||
},
|
||||
"owner_type": {
|
||||
"description": "Owner type",
|
||||
"enum": [
|
||||
"user",
|
||||
"org"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"project_number": {
|
||||
"description": "The project's number.",
|
||||
"type": "number"
|
||||
},
|
||||
"updated_field": {
|
||||
"description": "Object consisting of the ID of the project field to update and the new value for the field. To clear the field, set value to null. Example: {\"id\": 123456, \"value\": \"New Value\"}",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"owner_type",
|
||||
"owner",
|
||||
"project_number",
|
||||
"item_id",
|
||||
"updated_field"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"name": "update_project_item"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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),
|
||||
@@ -274,17 +259,6 @@ func AllTools(t translations.TranslationHelperFunc) []inventory.ServerTool {
|
||||
UpdateGist(t),
|
||||
|
||||
// Project tools
|
||||
ListProjects(t),
|
||||
GetProject(t),
|
||||
ListProjectFields(t),
|
||||
GetProjectField(t),
|
||||
ListProjectItems(t),
|
||||
GetProjectItem(t),
|
||||
AddProjectItem(t),
|
||||
DeleteProjectItem(t),
|
||||
UpdateProjectItem(t),
|
||||
|
||||
// Consolidated project tools (enabled via feature flag)
|
||||
ProjectsList(t),
|
||||
ProjectsGet(t),
|
||||
ProjectsWrite(t),
|
||||
|
||||
Reference in New Issue
Block a user