AI

ai: 11 operations.

Also for this capability: API · CLI · MCP · SDKs

ai: 11 operations. Name one in "op" and pass that operation's own arguments in "input". describe returns an operation's input schema.

Toolai
Addresshttps://api.hanzo.ai/v1/mcp
Methodtools/call (JSON-RPC 2.0)
Arguments2, 1 required
OperationPOST /v1/ai/mcp/chat · POST /v1/ai/mcp/decisions · POST /v1/frame/edits · POST /v1/frame/generations · GET /v1/ai/limits · GET /v1/ai/mcp/tools · GET /v1/ai/mcp/models · GET /v1/ai/limits/rate · POST /v1/decisions/{decision}/corrections · GET /v1/decisions/{decision}/corrections · DELETE /v1/decisions/{decision}/corrections/{id}
Productai

Arguments

FieldTypeRequiredDefaultValuesDescription
inputobject———arguments for the chosen op
opstringyes———

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 MCP'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 MCP 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": "ai",
         "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 MCP 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

ai dispatches to 11 operations.

OperationRouteProductSummary
aiChatPOST /v1/ai/mcp/chataiAsks one model one prompt and answers the reply, which model served it and who paid.
aiDecidePOST /v1/ai/mcp/decisionsaiRuns one decision — the caller's own POST /v1/decisions, gated and billed exactly as that route is — and answers the decision, which model served it and who paid.
aiFrameEditPOST /v1/frame/editsaiEdits an existing Hyperframe composite or its layer stack (POST /v1/frame/edits): pass background_b64 and layers (or headline, layout, theme, terminal, instruction, or layer_patches) to redesign text, reposition panels, swap themes (light, glass, dark), or add custom card/HTML layers in ~15ms with zero diffusion cost; or set edit_background=true (with qwen-image-edit or iro) to redo the visual background while keeping all typography and UI layers intact.
aiFrameGeneratePOST /v1/frame/generationsaiGenerates a Hyperframe graphic composite (POST /v1/frame/generations): strips all copy and text triggers from the diffusion prompt so the image model (iro, qwen-image, z-image-turbo, flux-3) renders a strictly text-free background, auto-detects the dark hardware/terminal surface bounding box, and layers pixel-perfect @hanzo/font (Zen + Zen Mono) typography and interactive HTML/UI elements on top.
aiLimitsGET /v1/ai/limitsaiReads the caller's plan usage: for each class of model the plan includes, the share used of the billing period and of its short window, who pays for the next request, and whether the caller is in limited mode and why; the share used of the session and the day; and the ways on.
aiMCPToolsGET /v1/ai/mcp/toolsaiReports what THIS PROCESS's MCP server carries: how many tools its own registry projects, optionally their names, and which subsystems this process composed.
aiModelsGET /v1/ai/mcp/modelsaiSearches the model catalog — the one GET /v1/models lists, every OpenRouter model among it as last synced — by text, class, family, capability or free, and answers each match with its class, family, whether it is free, its list price (per token and per million; variable for a router billed at the answering model's price; a resold model's every vendor rate and conditional rate as billed), context window, output bound, expiry and capabilities.
aiRateLimitGET /v1/ai/limits/rateaiReads the per-minute limit as it governs the organization the caller acts in: the model requests one person may make in a minute on every surface — the API, chat, coding runs, bots and MCP — the platform's default, which is the most the organization may set, and the organization's own setting.
decisionsCorrectPOST /v1/decisions/{decision}/correctionsaiFiles a correction of one question of one of the org's Kai decisions: the right answer, which must be one of that question's options and not what Kai answered, and why.
decisionsCorrectionsGET /v1/decisions/{decision}/correctionsaiAnswers one of the org's decisions' corrections, each captured (it can teach) or missing (the decision was made with capture off).
decisionsUncorrectDELETE /v1/decisions/{decision}/corrections/{id}aiDeletes one correction of one of the org's decisions.

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


All 127 tools · MCP · API reference

Generated from tools/list on https://api.hanzo.ai/v1/mcp — 127 tools captured 2026-11-10.

Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.