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
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/actions_get.snap
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,8 @@
5
5
},
6
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
7
"inputSchema": {
8
-
"type": "object",
9
8
"properties": {
10
9
"method": {
11
-
"type": "string",
12
10
"description": "The method to execute",
13
11
"enum": [
14
12
"get_workflow",
@@ -17,27 +15,29 @@
17
15
"download_workflow_run_artifact",
18
16
"get_workflow_run_usage",
19
17
"get_workflow_run_logs_url"
20
-
]
18
+
],
19
+
"type": "string"
21
20
},
22
21
"owner": {
23
-
"type": "string",
24
-
"description": "Repository owner"
22
+
"description": "Repository owner",
23
+
"type": "string"
25
24
},
26
25
"repo": {
27
-
"type": "string",
28
-
"description": "Repository name"
26
+
"description": "Repository name",
27
+
"type": "string"
29
28
},
30
29
"resource_id": {
31
-
"type": "string",
32
-
"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"
30
+
"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",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/actions_list.snap
+28-28Lines changed: 28 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -5,68 +5,66 @@
5
5
},
6
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
7
"inputSchema": {
8
-
"type": "object",
9
8
"properties": {
10
9
"method": {
11
-
"type": "string",
12
10
"description": "The action to perform",
13
11
"enum": [
14
12
"list_workflows",
15
13
"list_workflow_runs",
16
14
"list_workflow_jobs",
17
15
"list_workflow_run_artifacts"
18
-
]
16
+
],
17
+
"type": "string"
19
18
},
20
19
"owner": {
21
-
"type": "string",
22
-
"description": "Repository owner"
20
+
"description": "Repository owner",
21
+
"type": "string"
23
22
},
24
23
"page": {
25
-
"type": "number",
26
24
"description": "Page number for pagination (default: 1)",
27
-
"minimum": 1
25
+
"minimum": 1,
26
+
"type": "number"
28
27
},
29
28
"per_page": {
30
-
"type": "number",
31
29
"description": "Results per page for pagination (default: 30, max: 100)",
30
+
"maximum": 100,
32
31
"minimum": 1,
33
-
"maximum": 100
32
+
"type": "number"
34
33
},
35
34
"repo": {
36
-
"type": "string",
37
-
"description": "Repository name"
35
+
"description": "Repository name",
36
+
"type": "string"
38
37
},
39
38
"resource_id": {
40
-
"type": "string",
41
-
"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, or omit to list all workflow runs in the repository.\n- Provide a workflow run ID for 'list_workflow_jobs' and 'list_workflow_run_artifacts' methods.\n"
39
+
"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, or omit to list all workflow runs in the repository.\n- Provide a workflow run ID for 'list_workflow_jobs' and 'list_workflow_run_artifacts' methods.\n",
40
+
"type": "string"
42
41
},
43
42
"workflow_jobs_filter": {
44
-
"type": "object",
43
+
"description": "Filters for workflow jobs. **ONLY** used when method is 'list_workflow_jobs'",
45
44
"properties": {
46
45
"filter": {
47
-
"type": "string",
48
46
"description": "Filters jobs by their completed_at timestamp",
49
47
"enum": [
50
48
"latest",
51
49
"all"
52
-
]
50
+
],
51
+
"type": "string"
53
52
}
54
53
},
55
-
"description": "Filters for workflow jobs. **ONLY** used when method is 'list_workflow_jobs'"
54
+
"type": "object"
56
55
},
57
56
"workflow_runs_filter": {
58
-
"type": "object",
57
+
"description": "Filters for workflow runs. **ONLY** used when method is 'list_workflow_runs'",
59
58
"properties": {
60
59
"actor": {
61
-
"type": "string",
62
-
"description": "Filter to a specific GitHub user's workflow runs."
60
+
"description": "Filter to a specific GitHub user's workflow runs.",
61
+
"type": "string"
63
62
},
64
63
"branch": {
65
-
"type": "string",
66
-
"description": "Filter workflow runs to a specific Git branch. Use the name of the branch."
64
+
"description": "Filter workflow runs to a specific Git branch. Use the name of the branch.",
65
+
"type": "string"
67
66
},
68
67
"event": {
69
-
"type": "string",
70
68
"description": "Filter workflow runs to a specific event type",
71
69
"enum": [
72
70
"branch_protection_rule",
@@ -101,28 +99,30 @@
101
99
"workflow_call",
102
100
"workflow_dispatch",
103
101
"workflow_run"
104
-
]
102
+
],
103
+
"type": "string"
105
104
},
106
105
"status": {
107
-
"type": "string",
108
106
"description": "Filter workflow runs to only runs with a specific status",
109
107
"enum": [
110
108
"queued",
111
109
"in_progress",
112
110
"completed",
113
111
"requested",
114
112
"waiting"
115
-
]
113
+
],
114
+
"type": "string"
116
115
}
117
116
},
118
-
"description": "Filters for workflow runs. **ONLY** used when method is 'list_workflow_runs'"
0 commit comments