github_actions_get_actions_cache_list
Retrieve a paginated list of GitHub Actions caches for a repository, with filtering by branch ref, cache key prefix, and sorting options.
Instructions
List GitHub Actions caches for a repository
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>"
},
"name": "github_actions_get_actions_cache_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | An explicit key or prefix for identifying the cache | |
| ref | No | The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/<branch name>`. To reference a pull request use `refs/pull/<number>/merge`. | |
| page | No | The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | |
| repo | Yes | repo | |
| sort | No | The property to sort the results by. `created_at` means when the cache was created. `last_accessed_at` means when the cache was last accessed. `size_in_bytes` is the size of the cache in bytes. | |
| owner | Yes | owner | |
| per_page | No | The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | |
| direction | No | The direction to sort the results by. |