{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"This method returns the contents of the repository's license file, if one is detected.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw contents of the license.\n- **`application/vnd.github.html+json`**: Returns the license contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).","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":{"ref":{"$ref":"#/definitions/code-scanning-ref","description":"The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`."}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false,"definitions":{"code-scanning-ref":{"type":"string","description":"The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,\n`refs/heads/<branch name>` or simply `<branch name>`."}}},"name":"Get the license for a repository","id":"github.licenses.get-for-repo","example":{"path":{"owner":"octocat","repo":"hello-world"}},"maxRequests":1,"summary":false}}