Home / Servers / GitHub API / actions_set_actions_cache_retention_limit_for_enterprise
Set GitHub Actions cache retention limit for an enterprise
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Set GitHub Actions cache retention limit for an enterprise Sets GitHub Actions cache retention limit for an enterprise. All organizations and repositories under this enterprise may not set a higher cache retention limit. OAuth tokens and personal access… [PUT /enterprises/{enterprise}/actions/cache/retention-limit]
Name on the gateway: github_api__actions_set_actions_cache_retention_limit_for_enterprise · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
enterprise required | string | The slug version of the enterprise name. |
max_cache_retention_days | integer | For repositories & organizations in an enterprise, the maximum duration, in… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "github_api__actions_set_actions_cache_retention_limit_for_enterprise",
"arguments": {
"enterprise": "…"
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the set github actions cache retention limit for an enterprise tool with enterprise set to ….