Hanzo
Cloud MCPintegrations

put_v1_integrations_github_repos_repo_pages

Sets or clears the custom domain (cname) and updates HTTPS enforcement, build type, or source.

Sets or clears the custom domain (cname) and updates HTTPS enforcement, build type, or source. ONLY the provided fields are sent to GitHub, so an update never resets a setting the caller did not mention.

Toolput_v1_integrations_github_repos_repo_pages
Doorhttps://api.hanzo.ai/v1/mcp
Methodtools/call (JSON-RPC 2.0)
Arguments6
OperationPUT /v1/integrations/github/repos/{repo}/pages
Productintegrations

Arguments

FieldTypeRequiredDefaultValuesDescription
branchstringBranch switches the legacy source branch. Empty leaves the source alone.
buildTypestringBuildType switches the builder: "legacy" or "workflow". Empty leaves it.
cnamestringCNAME is the custom domain. Omit to leave it alone, "" to clear it, or a valid FQDN to set it.
httpsEnforcedbooleanHTTPSEnforced toggles GitHub's enforce-HTTPS bit. Omit to leave it alone.
pathstringPath is the source directory to pair with Branch: "/" (the default) or "/docs". Read only when Branch is given.
repostringRepo is the repository, from the :repo path segment.

tools/list declares a type and a description for each field and nothing further. A means neither the door nor that operation constrains the field.

Call it

A tools/call carries every argument in one flat object — nothing binds to a path or a query string. Nothing above is required, so every declared argument is shown rather than a guess at which matter.

curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "put_v1_integrations_github_repos_repo_pages",
         "arguments": {
           "branch": "<branch>",
           "buildType": "<buildType>",
           "cname": "<cname>",
           "httpsEnforced": false,
           "path": "<path>",
           "repo": "<repo>"
         }
       }
     }'

Values are the operation's own defaults and enumerated values where it declares them, and a <placeholder> where neither source declares one. httpsEnforced holds a stand-in that cannot be spelled that way — JSON gives a number, a boolean and a timestamp no placeholder form — so that value is this page's, not the API's. Neither the door nor the operation declares one. tools/list needs no credential; tools/call does — called without one the door answers HTTP 200 with a JSON-RPC result whose isError is set and whose text says what was missing. How to get a key →

The operation behind it

OperationRouteProductSummary
cloud_put_v1_integrations_github_repos_repo_pagesPUT /v1/integrations/github/repos/{repo}/pagesintegrationsSets or clears the custom domain (cname) and updates HTTPS enforcement, build type, or…

The same capability over plain HTTP is in the integrations API reference, on https://api.hanzo.ai.


All 833 tools · The door · API reference

Generated from tools/list on https://api.hanzo.ai/v1/mcp — 833 tools captured 2026-08-01 (this build read the vendored copy; the door was unreachable).

How is this guide?

On this page