{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Get all the rulesets for a repository.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."}},"required":["owner","repo"],"additionalProperties":false},"query":{"type":"object","properties":{"per_page":{"type":"integer","default":30,"description":"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).\""},"page":{"type":"integer","default":1,"description":"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).\""},"includes_parents":{"type":"boolean","default":true,"description":"Include rulesets configured at higher levels that apply to this repository"},"targets":{"type":"string","examples":["branch,tag,push"],"description":"A comma-separated list of rule targets to filter by.\nIf provided, only rulesets that apply to the specified targets will be returned.\nFor example, `branch,tag,push`.\n"}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"Get all repository rulesets","id":"github.repos.get-repo-rulesets","example":{"path":{"owner":"octocat","repo":"hello-world"}},"maxRequests":1,"summary":false}}