Skip to content

Commit b7d0d6e

Browse files
committed
update docs
1 parent 348b2bd commit b7d0d6e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -431,18 +431,18 @@ The following sets of tools are available:
431431

432432
- **actions_get** - Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)
433433
- `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+
- `failed_only`: When true, gets logs for all failed jobs in the workflow run specified by resource_id (only for 'get_workflow_job_logs' action) (boolean, optional)
435+
- `job_id`: The unique identifier of the workflow job (required for single job logs when action is 'get_workflow_job_logs') (number, optional)
436436
- `owner`: Repository owner (string, required)
437437
- `repo`: Repository name (string, required)
438438
- `resource_id`: The unique identifier of the resource. This will vary based on the "action" provided, so ensure you provide the correct ID:
439439
- Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'get_workflow' action.
440440
- Provide a workflow run ID for 'get_workflow_run', 'download_workflow_run_artifact', 'get_workflow_run_usage', and 'get_workflow_run_logs' actions.
441441
- Provide a job ID for the 'get_workflow_job' action.
442-
- Provide a workflow run ID for 'get_job_logs' action when using failed_only parameter.
442+
- Provide a workflow run ID for 'get_workflow_job_logs' action when using failed_only parameter.
443443
(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)
444+
- `return_content`: Returns actual log content instead of URLs (only for 'get_workflow_job_logs' action) (boolean, optional)
445+
- `tail_lines`: Number of lines to return from the end of the log (only for 'get_workflow_job_logs' action) (number, optional)
446446

447447
- **actions_list** - List GitHub Actions workflows in a repository
448448
- `action`: The action to perform (string, required)

0 commit comments

Comments
 (0)