{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Configures a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nThe authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.","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},"body":{"type":["object","null"],"description":"The source branch and directory used to publish your Pages site.","properties":{"build_type":{"type":"string","description":"The process in which the Page will be built. Possible values are `\"legacy\"` and `\"workflow\"`.","enum":["legacy","workflow"]},"source":{"type":"object","description":"The source branch and directory used to publish your Pages site.","properties":{"branch":{"type":"string","description":"The repository branch used to publish your site's source files."},"path":{"type":"string","description":"The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`","enum":["/","/docs"],"default":"/"}},"required":["branch"]}},"anyOf":[{"required":["source"]},{"required":["build_type"]}],"examples":[{"source":{"branch":"main","path":"/docs"}}]}},"required":["path","body"],"additionalProperties":false},"name":"Create a GitHub Pages site","id":"github.repos.create-pages-site","example":{"path":{"owner":"octocat","repo":"hello-world"},"body":{"source":{"branch":"main","path":"/docs"}}},"maxRequests":1,"summary":false}}