host.tool_publish
Publish a tool of a registered kind (chain, echo, http, python, wasm) under this tenant's namespace. Call host.quickstart(kind) first for a filled-in example spec and the full publish-to-call sequence. Name must match ^[a-z][a-z0-9_]{1,40}$; a rejection names the failing field and a corrected example. Try host.tool_test before a real call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which registered kind to publish under, e.g. echo, http, python. | |
| name | Yes | Local name for the new tool; must match ^[a-z][a-z0-9_]{1,40}$. | |
| spec | Yes | The kind-specific spec object; see host.quickstart(kind) for a filled-in example. | |
| tenant_key | No | The key `signup` returned. Required only when this connection carries no Authorization: Bearer header -- when both are present, the header wins. |