host.tool_share
Share one of this tenant's published tools with everyone (visibility: "public") or with a named group this tenant owns (visibility: "group", group: ). The tool keeps running in this tenant's own sandbox with this tenant's own secrets; a caller reaches it as <this tenant's namespace>..
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Local name of the tool to share. | |
| group | No | Required when visibility is "group"; must already exist (host.group.create). | |
| tenant_key | No | The key `signup` returned. Optional on the connection that ran signup (or host.redeem): that connection is already bound to the tenant it created, so later calls on it need no tenant_key. On a connection with no Authorization: Bearer header and no prior signup, omitting it implicitly signs that connection up as a brand-new tenant and runs this call as it -- see host.whoami's source field. When both a header and this argument are present, the header wins. | |
| visibility | Yes | "public" or "group". | |
| description | No | Catalog-facing blurb; shown by host.catalog.search/get. | |
| expose_spec | No | Default false. When true, any tenant this tool is shared with may call host.tool_spec_shared to read its (redacted) spec. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | Yes | ||
| next | No | ||
| group | Yes | ||
| visibility | Yes | ||
| description | Yes | ||
| expose_spec | Yes | ||
| welcome_back | No |