Home / Servers / GitHub API / actions_set_actions_cache_retention_limit_for_organization
Set GitHub Actions cache retention limit for an organization
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Set GitHub Actions cache retention limit for an organization Sets GitHub Actions cache retention limit for an organization. All repositories under this organization may not set a higher cache retention limit. OAuth tokens and personal access tokens (classic)… [PUT /organizations/{org}/actions/cache/retention-limit]
Name on the gateway: github_api__actions_set_actions_cache_retention_limit_for_organization · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
max_cache_retention_days | integer | For repositories in this organization, the maximum duration, in days, for… |
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_organization",
"arguments": {
"org": "…"
}
}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 organization tool with org set to ….