Get Billing Usage
get_billing_usageRetrieve GitHub Actions billing and cache usage for a user or organization, optionally scoped to a repository, to identify cost drivers and optimize CI spend.
Instructions
Retrieve GitHub Actions billing and cache usage statistics for an owner (user or org), optionally scoped to a specific 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>"
},
"name": "get_billing_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Optional repository name to scope usage. When provided, returns repo-level cache stats and recent run timing. | |
| owner | Yes | GitHub username or organisation name |