List workflow artifact files
gh_list_artifact_filesList file paths and sizes from a specific GitHub Actions artifact, with safety validation and pagination. Read-only tool; GitHub is never modified.
Instructions
Read-only: inspect one exact, unexpired GitHub Actions artifact ZIP and return one bounded page of normalized regular-file paths and sizes. The archive is downloaded only into temporary server state, never extracted, and is rejected for traversal, absolute paths, duplicate/conflicting paths, symbolic links, special entries, encryption, or configured hard-limit violations. GitHub is never modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | One-based file page. | |
| repo | Yes | Canonical GitHub repository name without path separators. | |
| owner | Yes | Canonical GitHub repository owner. | |
| per_page | No | File paths per page, capped by server policy. | |
| artifact_id | Yes | Exact workflow artifact identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| files | Yes | ||
| warning | No | ||
| has_more | Yes | ||
| per_page | Yes | ||
| truncated | Yes | ||
| artifact_id | Yes | ||
| total_count | Yes | ||
| archive_bytes | Yes | ||
| artifact_name | Yes | ||
| archive_sha256 | Yes | ||
| artifact_digest | No | ||
| workflow_run_id | Yes | ||
| workflow_head_sha | Yes | ||
| artifact_expires_at | Yes | ||
| artifact_size_in_bytes | Yes |