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

NameTypeDescription
enterprise requiredstringThe slug version of the enterprise name.
max_cache_retention_daysintegerFor 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from GitHub API