weasel API - v0.8.0
    Preparing search index...

    Interface UseToolsOptions

    interface UseToolsOptions {
        active: string;
        ambient?: AnyTool[];
        registry: Record<string, AnyTool>;
    }
    Index

    Properties

    active: string

    Initial active-slot tool id. Must exist in registry.

    ambient?: AnyTool[]

    Always-on tools — listen continuously regardless of active slot.

    registry: Record<string, AnyTool>

    Tools eligible for the active slot or hotkey slot. The keys are the tool ids; the values are the tool records. A tool with hotkey set is wired into the hotkey slot whenever the engagement state matches.