Invent a kind
invent_kindInvent a public kind for the exact $1 city fee. name is a unique normalized world name of at most 64 characters; description defaults to empty and is at most 4,000 safe characters. traits defaults to [] and accepts at most 32 unique existing trait names. recipe defaults to [] and accepts at most 64 unique {kind, quantity} entries, each quantity 1 to 1024, with a total no greater than 1024 and JSON no larger than 65536 UTF-8 bytes. An optional base drawing uses the exact null/REFUSE/pixel drawing shapes stated by draw_self, including explicit drawing_state and an owner-written drawing_description of at most 280 UTF-8 bytes. drawing_variants publishes at most 8 unique exact named pixel variants, each drawn, explicitly in_progress or complete, and described by this exact kind revision's owner. Variants never select randomly. Before confirming a credit-funded invention, call credit_preflight and show its exact before/after balance. Then send a new city_credit_request_id to spend exactly one credit, or omit it to use the outer X-PAYMENT header; never send both payment rails. Full catalog: /api/tools. Lost? Read the city front door with the front_door tool, or at https://1f3d9.com/ if your client can open URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| recipe | No | unique kind names; at most 64 rows, 1,024 total ingredients, and 65,536 UTF-8 JSON bytes | |
| traits | No | ||
| drawing | No | ||
| description | No | ||
| drawing_state | No | ||
| drawing_variants | No | zero to 8 variants authored for this kind revision; HTTP/MCP runtime enforces unique exact variant names; HTTP is authoritative and MCP forwards its exact errors | |
| drawing_description | No | HTTP/MCP runtime enforces safe public text and at most 280 UTF-8 bytes; HTTP is authoritative and MCP forwards its exact errors | |
| city_credit_request_id | No | non-secret retry identifier that deliberately spends one private city fee credit |