Create a toolkit
/titan/tools/toolkitsCreate a new toolkit (provider grouping for tools). scope "organization" (the default) creates a toolkit owned by, and visible to, the caller's organization only; scope "system" creates a system toolkit visible to every organization and requires the caller to be the system tools organization. Slugs are unique per owner, and an organization toolkit may not take a system toolkit's slug.
Requires permission tool-gateway:tool:write.
Headers
Bearer <token>. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).
Workspace scope used by permission checks, if applicable.
Optional environment scope.
Body parameters
AuthSchemes lists the toolkit's authentication schemes; send [] for none (an omitted list is refused by the database).
Name is the display name.
RequiredScopes lists the scopes the toolkit's tools need; send [] for none (an omitted list is refused by the database).
Scope selects the owner: "organization" (the default) is the caller's organization; "system" requires the caller to be the system tools organization.
One of: "organization", "system"
Slug identifies the toolkit (unique per owner; an organization toolkit may not take a system toolkit's slug).
Status defaults to "active"; only active toolkits resolve by slug.
Returns
201CreatedToolkit
OwnerOrganizationID is the owning organization of an organization toolkit, absent for a system toolkit. Read-only: it is set from the caller's verified organization, never from the request.
Scope is "system" (Hexel-managed, visible to every organization) or "organization" (visible to and written by its owner only). On create it selects the owner: "organization" (the default) is the caller's organization; "system" requires the caller to be the system tools organization. In responses it is always set.
One of: "organization", "system"
Errors
- 400Bad Request
- 401Unauthenticated: token missing or rejected at the edge
- 403Forbidden
- 409Conflict
- 500Internal Server Error