GitHub list artifacts
github_list_artifactsList GitHub Actions artifacts for a repository. Prefer the exact owner from github_list_repositories; 'repo' also accepts the combined 'owner/name' form. Returns artifact names, sizes, creation dates, and expiry status. Use this to find build outputs like Trivy security scan results (artifact name 'ankra-security-scan'), test reports, coverage data, or any other CI/CD artifacts. You can filter by artifact name.
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": {
"repo": "<repo>"
},
"name": "github_list_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Filter artifacts by exact name (e.g. 'ankra-security-scan'). If not provided, returns all recent artifacts. | |
| repo | Yes | Repository name. Also accepts the combined 'owner/name' form. | |
| limit | No | Maximum number of artifacts to return (max 30). | |
| owner | No | Repository owner (e.g. 'octocat'). Prefer the exact owner from a prior github_list_repositories call. May be omitted when the repository name is unambiguous in this organisation, or embedded in 'repo' as 'owner/name'. |