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: README.md
+7-16Lines changed: 7 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -431,13 +431,18 @@ The following sets of tools are available:
431
431
432
432
-**actions_get** - Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)
433
433
-`action`: The action to perform (string, required)
434
+
-`failed_only`: When true, gets logs for all failed jobs in the workflow run specified by resource_id (only for 'get_job_logs' action) (boolean, optional)
435
+
-`job_id`: The unique identifier of the workflow job (required for single job logs when action is 'get_job_logs') (number, optional)
434
436
-`owner`: Repository owner (string, required)
435
437
-`repo`: Repository name (string, required)
436
438
-`resource_id`: The unique identifier of the resource. This will vary based on the "action" provided, so ensure you provide the correct ID:
437
439
- Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'get_workflow' action.
438
-
- Provide a workflow run ID for 'get_workflow_run', 'download_workflow_run_artifact'and 'get_workflow_run_usage' actions.
440
+
- Provide a workflow run ID for 'get_workflow_run', 'download_workflow_run_artifact', 'get_workflow_run_usage', and 'get_workflow_run_logs' actions.
439
441
- Provide a job ID for the 'get_workflow_job' action.
440
-
(string, required)
442
+
- Provide a workflow run ID for 'get_job_logs' action when using failed_only parameter.
443
+
(string, optional)
444
+
-`return_content`: Returns actual log content instead of URLs (only for 'get_job_logs' action) (boolean, optional)
445
+
-`tail_lines`: Number of lines to return from the end of the log (only for 'get_job_logs' action) (number, optional)
441
446
442
447
-**actions_list** - List GitHub Actions workflows in a repository
443
448
-`action`: The action to perform (string, required)
@@ -464,20 +469,6 @@ The following sets of tools are available:
464
469
-`repo`: Repository name (string, required)
465
470
-`run_id`: The unique identifier of the workflow run (number, required)
466
471
467
-
-**get_job_logs** - Get job logs
468
-
-`failed_only`: When true, gets logs for all failed jobs in run_id (boolean, optional)
469
-
-`job_id`: The unique identifier of the workflow job (required for single job logs) (number, optional)
470
-
-`owner`: Repository owner (string, required)
471
-
-`repo`: Repository name (string, required)
472
-
-`return_content`: Returns actual log content instead of URLs (boolean, optional)
473
-
-`run_id`: Workflow run ID (required when using failed_only) (number, optional)
474
-
-`tail_lines`: Number of lines to return from the end of the log (number, optional)
475
-
476
-
-**get_workflow_run_logs** - Get workflow run logs
477
-
-`owner`: Repository owner (string, required)
478
-
-`repo`: Repository name (string, required)
479
-
-`run_id`: The unique identifier of the workflow run (number, required)
480
-
481
472
-**run_workflow** - Run workflow
482
473
-`inputs`: Inputs the workflow accepts (object, optional)
0 commit comments