You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"title": "Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)"
5
+
},
6
+
"description": "Get details about specific GitHub Actions resources.\nUse this tool to get details about individual workflows, workflow runs, jobs, and artifacts by their unique IDs.\n",
7
+
"inputSchema": {
8
+
"type": "object",
9
+
"required": [
10
+
"method",
11
+
"owner",
12
+
"repo",
13
+
"resource_id"
14
+
],
15
+
"properties": {
16
+
"method": {
17
+
"type": "string",
18
+
"description": "The method to execute",
19
+
"enum": [
20
+
"get_workflow",
21
+
"get_workflow_run",
22
+
"get_workflow_job",
23
+
"download_workflow_run_artifact",
24
+
"get_workflow_run_usage",
25
+
"get_workflow_run_logs_url"
26
+
]
27
+
},
28
+
"owner": {
29
+
"type": "string",
30
+
"description": "Repository owner"
31
+
},
32
+
"repo": {
33
+
"type": "string",
34
+
"description": "Repository name"
35
+
},
36
+
"resource_id": {
37
+
"type": "string",
38
+
"description": "The unique identifier of the resource. This will vary based on the \"method\" provided, so ensure you provide the correct ID:\n- Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'get_workflow' method.\n- Provide a workflow run ID for 'get_workflow_run', 'get_workflow_run_usage', and 'get_workflow_run_logs_url' methods.\n- Provide an artifact ID for 'download_workflow_run_artifact' method.\n- Provide a job ID for 'get_workflow_job' method.\n"
"title": "List GitHub Actions workflows in a repository"
5
+
},
6
+
"description": "Tools for listing GitHub Actions resources.\nUse this tool to list workflows in a repository, or list workflow runs, jobs, and artifacts for a specific workflow or workflow run.\n",
7
+
"inputSchema": {
8
+
"type": "object",
9
+
"required": [
10
+
"method",
11
+
"owner",
12
+
"repo"
13
+
],
14
+
"properties": {
15
+
"method": {
16
+
"type": "string",
17
+
"description": "The action to perform",
18
+
"enum": [
19
+
"list_workflows",
20
+
"list_workflow_runs",
21
+
"list_workflow_jobs",
22
+
"list_workflow_run_artifacts"
23
+
]
24
+
},
25
+
"owner": {
26
+
"type": "string",
27
+
"description": "Repository owner"
28
+
},
29
+
"page": {
30
+
"type": "number",
31
+
"description": "Page number for pagination (default: 1)",
32
+
"minimum": 1
33
+
},
34
+
"per_page": {
35
+
"type": "number",
36
+
"description": "Results per page for pagination (default: 30, max: 100)",
37
+
"minimum": 1,
38
+
"maximum": 100
39
+
},
40
+
"repo": {
41
+
"type": "string",
42
+
"description": "Repository name"
43
+
},
44
+
"resource_id": {
45
+
"type": "string",
46
+
"description": "The unique identifier of the resource. This will vary based on the \"method\" provided, so ensure you provide the correct ID:\n- Do not provide any resource ID for 'list_workflows' method.\n- Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'list_workflow_runs' method.\n- Provide a workflow run ID for 'list_workflow_jobs' and 'list_workflow_run_artifacts' methods.\n"
47
+
},
48
+
"workflow_jobs_filter": {
49
+
"type": "object",
50
+
"description": "Filters for workflow jobs. **ONLY** used when method is 'list_workflow_jobs'",
51
+
"properties": {
52
+
"filter": {
53
+
"type": "string",
54
+
"description": "Filters jobs by their completed_at timestamp",
55
+
"enum": [
56
+
"latest",
57
+
"all"
58
+
]
59
+
}
60
+
}
61
+
},
62
+
"workflow_runs_filter": {
63
+
"type": "object",
64
+
"description": "Filters for workflow runs. **ONLY** used when method is 'list_workflow_runs'",
65
+
"properties": {
66
+
"actor": {
67
+
"type": "string",
68
+
"description": "Filter to a specific GitHub user's workflow runs."
69
+
},
70
+
"branch": {
71
+
"type": "string",
72
+
"description": "Filter workflow runs to a specific Git branch. Use the name of the branch."
73
+
},
74
+
"event": {
75
+
"type": "string",
76
+
"description": "Filter workflow runs to a specific event type",
77
+
"enum": [
78
+
"branch_protection_rule",
79
+
"check_run",
80
+
"check_suite",
81
+
"create",
82
+
"delete",
83
+
"deployment",
84
+
"deployment_status",
85
+
"discussion",
86
+
"discussion_comment",
87
+
"fork",
88
+
"gollum",
89
+
"issue_comment",
90
+
"issues",
91
+
"label",
92
+
"merge_group",
93
+
"milestone",
94
+
"page_build",
95
+
"public",
96
+
"pull_request",
97
+
"pull_request_review",
98
+
"pull_request_review_comment",
99
+
"pull_request_target",
100
+
"push",
101
+
"registry_package",
102
+
"release",
103
+
"repository_dispatch",
104
+
"schedule",
105
+
"status",
106
+
"watch",
107
+
"workflow_call",
108
+
"workflow_dispatch",
109
+
"workflow_run"
110
+
]
111
+
},
112
+
"status": {
113
+
"type": "string",
114
+
"description": "Filter workflow runs to only runs with a specific status",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/get_job_logs.snap
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
{
2
2
"annotations": {
3
3
"readOnlyHint": true,
4
-
"title": "Get job logs"
4
+
"title": "Get GitHub Actions workflow job logs"
5
5
},
6
-
"description": "Download logs for a specific workflow job or efficiently get all failed job logs for a workflow run",
6
+
"description": "Get logs for GitHub Actions workflow jobs.\nUse this tool to retrieve logs for a specific job or all failed jobs in a workflow run.\nFor single job logs, provide job_id. For all failed jobs in a run, provide run_id with failed_only=true.\n",
7
7
"inputSchema": {
8
8
"type": "object",
9
9
"required": [
@@ -13,11 +13,11 @@
13
13
"properties": {
14
14
"failed_only": {
15
15
"type": "boolean",
16
-
"description": "When true, gets logs for all failed jobs in run_id"
16
+
"description": "When true, gets logs for all failed jobs in the workflow run specified by run_id. Requires run_id to be provided."
17
17
},
18
18
"job_id": {
19
19
"type": "number",
20
-
"description": "The unique identifier of the workflow job (required for single job logs)"
20
+
"description": "The unique identifier of the workflow job. Required when getting logs for a single job."
21
21
},
22
22
"owner": {
23
23
"type": "string",
@@ -33,7 +33,7 @@
33
33
},
34
34
"run_id": {
35
35
"type": "number",
36
-
"description": "Workflow run ID (required when using failed_only)"
36
+
"description": "The unique identifier of the workflow run. Required when failed_only is true to get logs for all failed jobs in the run."
0 commit comments