Interface: ToolRegistryOptions

Defined in: tools/registry.ts:28

Options for creating a DefaultToolRegistry

Properties

defaultTimeoutMs?

optional defaultTimeoutMs?: number;

Defined in: tools/registry.ts:33

Default timeout for tool execution in milliseconds. Default: 30000 (30 seconds). Set to 0 to disable timeout.

fallbackHandler?

optional fallbackHandler?: ToolFallbackHandler;

Defined in: tools/registry.ts:44

Fallback handler for tools not found in the primary registry. Enables transparent routing to secondary registries (e.g., meta-tools).

toolTimeouts?

optional toolTimeouts?: Record<string, number>;

Defined in: tools/registry.ts:38

Per-tool timeout overrides (tool name -> timeout in ms)