github_repos_get_repo_rule_suites
List repository rule suites and filter rule evaluations by ref, actor, time period, or result to inspect policy compliance across branches and tags.
Instructions
List repository rule suites
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_repos_get_repo_rule_suites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned. | |
| 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 | |
| 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)." | |
| actor_name | No | The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. | |
| time_period | No | The time period to filter by. For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours). | |
| rule_suite_result | No | The rule suite results to filter on. When specified, only suites with this result will be returned. |