Skip to content

toolmark-monorepo / @toolmark/core / createToolmark

Function: createToolmark() ​

createToolmark(options?): Toolmark

Defined in: packages/core/src/registry.ts:450

Creates a tool registry.

Parameters ​

options? ​

ToolmarkOptions = {}

Registry options; see ToolmarkOptions. Production-mode option errors (invalid_confirm_mode, invalid_policy) fire during this call, so only options.onError receives them.

Returns ​

Toolmark

The registry. In SSR (no document) registration and consumers are inert no-ops.