visor
visor: 29 operations.
visor: 29 operations. Name one in "op" and pass that operation's own arguments in "input". describe returns an operation's input schema.
| Tool | visor |
| Door | https://api.hanzo.ai/v1/mcp |
| Method | tools/call (JSON-RPC 2.0) |
| Arguments | 2, 1 required |
| Operation | POST /v1/clusters · PUT /v1/machines/{id}/agent · POST /v1/fleet/jobs/{id}/cancel · POST /v1/k8s/clusters · POST /v1/clusters/{clusterId}/pools · DELETE /v1/compute/bots/{id} · DELETE /v1/k8s/clusters/{id} · DELETE /v1/machines/{id} · DELETE /v1/clusters/{clusterId}/pools/{poolId} · DELETE /v1/clusters/{id} · GET /v1/compute/bots/{id} · GET /v1/k8s/clusters/{id} · GET /v1/machines/{id} · GET /v1/machines/{id}/agent · GET /v1/compute/bots · GET /v1/clusters · GET /v1/fleet · GET /v1/fleet/jobs · GET /v1/fleet/samples · GET /v1/fleet/workers · GET /v1/gpus/alerts · GET /v1/gpus · GET /v1/k8s/clusters · GET /v1/k8s/nodes · GET /v1/machines/agents · GET /v1/machines · POST /v1/fleet/samples · POST /v1/clusters/{clusterId}/pools/{poolId}/scale · DELETE /v1/machines/{id}/agent |
| Product | clusters |
Arguments
| Field | Type | Required | Default | Values | Description |
|---|---|---|---|---|---|
input | object | — | — | — | arguments for the chosen op |
op | string | yes | — | — | — |
tools/list declares a type, a description, which fields are required and an enumerated value set for each field and nothing further, and every column above is the door's own. This tool takes an operation name and that operation's arguments, so what the document constrains is what goes inside input, field by field, on the operation you name — ask describe for that. A — means the door does not constrain the field.
Call it
A tools/call carries every argument in one flat object — nothing binds to a path or a query string. This call carries exactly the arguments the operation requires, so it is the smallest one that can run.
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": "visor",
"arguments": {
"op": "<op>"
}
}
}'Values are the operation's own defaults and enumerated values where it declares them, and a <placeholder> where neither source 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
visor dispatches to 29 operations.
| Operation | Route | Product | Summary |
|---|---|---|---|
attachCluster | POST /v1/clusters | clusters | Attaches a BYO cluster to the caller's org — the kubeconfig is validated, KMS-sealed and… |
bindMachineAgent | PUT /v1/machines/{id}/agent | machines | Binds a cloud Agent to one of the caller org's machines: the machine is recorded as… |
cancelFleetJob | POST /v1/fleet/jobs/{id}/cancel | fleet | Cancels a queued or running render in the caller's org. |
createKubernetesCluster | POST /v1/k8s/clusters | k8s | Provisions a DOKS cluster for the caller's org and answers 201. |
createNodePool | POST /v1/clusters/{clusterId}/pools | clusters | Adds a node pool to one of the caller org's clusters and answers 201 with the created… |
deleteBot | DELETE /v1/compute/bots/{id} | compute | Tears down both halves of a bot: it unbinds the agent (best-effort — a bot with no… |
deleteKubernetesCluster | DELETE /v1/k8s/clusters/{id} | k8s | Destroys a DOKS cluster by id and answers 204. |
deleteMachine | DELETE /v1/machines/{id} | machines | Terminates one of the caller org's machines. |
deleteNodePool | DELETE /v1/clusters/{clusterId}/pools/{poolId} | clusters | Removes a node pool from one of the caller org's clusters. |
detachCluster | DELETE /v1/clusters/{id} | clusters | Removes a BYO cluster from the caller org's fleet. |
getBot | GET /v1/compute/bots/{id} | compute | Returns one of the caller org's bot machines with its agent binding. |
getKubernetesCluster | GET /v1/k8s/clusters/{id} | k8s | Returns one cluster's detail: node pools + worker nodes. |
getMachine | GET /v1/machines/{id} | machines | Returns one of the caller org's machines by its org-scoped name. |
getMachineAgent | GET /v1/machines/{id}/agent | machines | Returns the agent binding of one of the caller org's machines, or 404 when the machine… |
listBots | GET /v1/compute/bots | compute | Returns the caller org's bot machines — the kind=bot machines — each joined with the… |
listClusters | GET /v1/clusters | clusters | Returns the caller org's clusters from both sources: the managed clusters projected from… |
listFleet | GET /v1/fleet | fleet | Returns every compute unit the caller's org has, from every source, each carrying its… |
listFleetJobs | GET /v1/fleet/jobs | fleet | Returns the caller org's gpu-jobs render queue, each row tagged with the GPU it targets… |
listFleetSamples | GET /v1/fleet/samples | fleet | Returns the caller org's utilization series, oldest first. |
listFleetWorkers | GET /v1/fleet/workers | fleet | Returns the caller org's BYO machines — the ones that dialed in via hanzo link — with… |
listGpuAlerts | GET /v1/gpus/alerts | gpus | Is an HONEST empty surface: Visor exposes no GPU alert inventory, so this returns []… |
listGpus | GET /v1/gpus | gpus | Returns one row per physical accelerator the caller's org has, derived from its real GPU… |
listKubernetesClusters | GET /v1/k8s/clusters | k8s | Lists the org's DOKS clusters (Visor, house account) folded with the org's BYO clusters —… |
listKubernetesNodes | GET /v1/k8s/nodes | k8s | Returns every DOKS worker node in the org's clusters as a machine — the SAME set the… |
listMachineAgents | GET /v1/machines/agents | machines | Returns every agent↔machine binding in the caller's org — which machines are running… |
listMachines | GET /v1/machines | machines | Returns every machine the caller's org has — Visor's registry, the live DigitalOcean… |
recordFleetSample | POST /v1/fleet/samples | fleet | Records a BYO worker's live GPU utilization into the SAME series the fleet board overlays. |
scaleNodePool | POST /v1/clusters/{clusterId}/pools/{poolId}/scale | clusters | Resizes a node pool to an absolute node count and returns the pool as Visor reports it… |
unbindMachineAgent | DELETE /v1/machines/{id}/agent | machines | Detaches the agent runtime from one of the caller org's machines. |
The same capability over plain HTTP is in the clusters API reference, on https://api.hanzo.ai.
How is this guide?