List workflow jobs
list_workflow_jobsList the jobs of an Actions workflow run to find which job failed and get its id for log retrieval. Use it after a failed run to move from run status to job-level details.
Instructions
List the jobs of one Actions workflow run (owner/repo/run_id), on Forgejo 16+ or Gitea — the step between a failed run and reading the log of the job that failed it. Each job's id is what get_job_log takes. As with list_workflow_runs, the output is this server's translation onto one shape, and the outcome is in status. Gitea also reports timestamps and each job's steps; Forgejo's listing has neither. A 404 means Actions is disabled on the repo, or — on Forgejo before 16 — that the instance has no jobs endpoint.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>",
"run_id": "<run_id>"
},
"name": "list_workflow_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. | |
| owner | Yes | Repository owner — user or organization. | |
| run_id | Yes | Workflow run id (the `id` field from `list_workflow_runs`). |