Hanzo
Cloud MCPframework

put_v1_framework_doctypes_name

Replaces a DocType definition wholesale (PUT semantics): the stored definition becomes the body.

Replaces a DocType definition wholesale (PUT semantics): the stored definition becomes the body. The name in the URL is authoritative over the body's, and documents already stored under the DocType are left intact. Manager-only.

Toolput_v1_framework_doctypes_name
Doorhttps://api.hanzo.ai/v1/mcp
Methodtools/call (JSON-RPC 2.0)
Arguments10
OperationPUT /v1/framework/doctypes/{name}
Productframework

Arguments

FieldTypeRequiredDefaultValuesDescription
autonamestring
createdAtinteger
fieldsDocField[]
isSingleboolean
isSubmittableboolean
modulestring
namestring
permissionsDocPerm[]
titleFieldstring
updatedAtinteger

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

Object types

DocField and DocPerm are objects this tool's fields are made of. Each is declared inside the tool's own schema, and each is enumerated in full below.

DocField

FieldTypeRequiredDefaultValuesDescription
defaultstring
fetchFromstring
fieldnamestring
fieldtypestring
hiddenboolean
inListViewboolean
labelstring
optionsstring
readOnlyboolean
reqdboolean
uniqueboolean

DocPerm

FieldTypeRequiredDefaultValuesDescription
cancelboolean
createboolean
deleteboolean
readboolean
rolestring
submitboolean
writeboolean

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_framework_doctypes_name",
         "arguments": {
           "autoname": "<autoname>",
           "createdAt": 0,
           "fields": [
             {
               "default": "<default>",
               "fetchFrom": "<fetchFrom>",
               "fieldname": "<fieldname>",
               "fieldtype": "<fieldtype>",
               "hidden": false,
               "inListView": false,
               "label": "<label>",
               "options": "<options>",
               "readOnly": false,
               "reqd": false,
               "unique": false
             }
           ],
           "isSingle": false,
           "isSubmittable": false,
           "module": "<module>",
           "name": "<name>",
           "permissions": [
             {
               "cancel": false,
               "create": false,
               "delete": false,
               "read": false,
               "role": "<role>",
               "submit": false,
               "write": false
             }
           ],
           "titleField": "<titleField>",
           "updatedAt": 0
         }
       }
     }'

Values are the operation's own defaults and enumerated values where it declares them, and a <placeholder> where neither source declares one. createdAt, fields[].hidden, fields[].inListView, fields[].readOnly, fields[].reqd, fields[].unique, isSingle, isSubmittable, permissions[].cancel, permissions[].create, permissions[].delete, permissions[].read, permissions[].submit, permissions[].write and updatedAt hold stand-ins that cannot be spelled that way — JSON gives a number, a boolean and a timestamp no placeholder form — so those values are 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
put_v1_framework_doctypes_namePUT /v1/framework/doctypes/{name}frameworkReplaces a DocType definition wholesale (PUT semantics): the stored definition becomes…

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


All 755 tools · The door · API reference

Generated from tools/list on https://api.hanzo.ai/v1/mcp — 833 tools captured 2026-08-01, of which 755 are documented here (the operator surface is not published) (this build read the vendored copy; the door was unreachable).

How is this guide?

On this page