patch_v1_platform_sites_slug
UpdateProject changes a project's settings, and only the settings you send.
UpdateProject changes a project's settings, and only the settings you send.
Every field is optional and absent means "leave it": name may not be blanked,
framework must stay a known build hint, and cacheControl is capped at 256
characters with no newlines (it becomes a response header). visibility flips
public/private under the same rule as create — public is free, private needs a
funded org. upstream and license are free-text credit for third-party work,
and sending "" clears one. Changing anything reconciles the project's canonical
git repo, so a visibility change reaches the source and not just the listing.
hidden/hiddenReason are platform MODERATION and are ignored unless the
caller is a platform admin; they remove a project from the public catalogue
without touching the publisher's own visibility choice, so un-hiding restores
exactly what they asked for.
Scope: a validated principal is required (403 without one) and the project is resolved within that principal's org, so another tenant's slug is a 404.
| Tool | patch_v1_platform_sites_slug |
| Door | https://api.hanzo.ai/v1/mcp |
| Method | tools/call (JSON-RPC 2.0) |
| Arguments | 11 |
| Operation | PATCH /v1/platform/sites/{slug} |
| Product | platform |
Arguments
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
cacheControl | string | — | — | — |
description | string | — | — | — |
framework | string | — | — | — |
hidden | boolean | — | — | Hidden is MODERATION, and the only admin-gated field on this body: it pulls a public project out of the catalogue from admin.hanzo.ai without editing the publisher's own visibility choice, so un-hiding restores exactly what they asked for. A tenant sending it is ignored. |
hiddenReason | string | — | — | — |
license | string | — | — | — |
name | string | — | — | — |
repo | object | — | — | — |
slug | string | — | — | Slug is the project to update, from the path. The URL is the addressing authority — a slug in the body cannot move the write to another project. |
upstream | string | — | — | Upstream/License credit the third-party work this app was published from — settable after the fact, because the demos that need crediting most are the ones already live. Pointers so "" clears a credit and absent leaves it. |
visibility | string | — | — | Visibility flips an existing project between "public" and "private". Same ONE rule as at create: public is free, private needs a paid plan. |
This tool's schema does not declare which fields are required, nor any default, nor any enumerated value set. The columns above are empty because the door publishes nothing there, not because the answer is "none" — where a field is constrained, the constraint is stated in that field's own description.
Call it
A tools/call carries every argument in one flat object — nothing binds to a path or a query string. Every declared argument is shown, because the door marks none of them required.
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": "patch_v1_platform_sites_slug",
"arguments": {
"cacheControl": "<cacheControl>",
"description": "<description>",
"framework": "<framework>",
"hidden": false,
"hiddenReason": "<hiddenReason>",
"license": "<license>",
"name": "<name>",
"repo": {},
"slug": "<slug>",
"upstream": "<upstream>",
"visibility": "<visibility>"
}
}
}'Values are placeholders derived from each field's declared type. 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
| Operation | Route | Product | Summary |
|---|---|---|---|
cloud_patch_v1_platform_sites_by_slug | PATCH /v1/platform/sites/{slug} | platform | — |
The same capability over plain HTTP is in the platform API reference, on https://api.hanzo.ai.
All 834 tools · The door · API reference
Generated from tools/list on https://api.hanzo.ai/v1/mcp — 834 tools captured 2026-08-01 (this build read the vendored copy; the door was unreachable).
How is this guide?