elaichi__toolbox__create
Create a toolbox: a connection-bound, shareable bundle of tool references. Two ways to build one, combinable: pass template_id to STAMP it (copies that template’s entries at creation time — never a live link; needs "use" access to the template) with connection_map filling each stamped proxy entry’s connector from one of the caller’s own usable connections (a connector the map does not name is left "needs connection", not rejected); and/or pass entries for hand-written ones beyond whatever stamping copied, which get full validation including connection_id. name defaults to the template’s name when stamping and is otherwise required. shares grants access at creation time — see toolbox.share for the level ladder; sharing DELEGATES, so every response carries a delegation summary — { connection_count, delegator_count, visible: { connection_count, private_connection_count, preview } } — saying what this toolbox runs on: read it out before you share, not after. Returns { toolbox, entries, delegation } with the new tbx_… id. Not a prerequisite for running tools the caller already has — for that, toolbox.execute against global:{their usr_… id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name. Required unless template_id is set, where it defaults to the template’s own name. | |
| shares | No | Grants to create alongside the resource. Omit, or send [], for a private one. | |
| entries | No | The COMPLETE entry list. Whatever you send replaces every existing entry; entries you omit are deleted. | |
| description | No | Optional free-text description shown to people it is shared with. | |
| template_id | No | Template id (`tpl_…`) from template.list to stamp from — a one-time copy of its entries, never a live link. Needs "use" access to the template. | |
| connection_map | No | connector_slug -> connection_id (`conn_…`), filling every STAMPED proxy entry of that connector with one of the caller’s own usable connections; the caller becomes that entry’s delegator. A connector this map does not name is left with connection_id null ("needs connection") rather than being rejected. Ignored when template_id is absent. |