@suluk/chat - v0.2.1
    Preparing search index...

    Interface ClientToolDef

    A browser-executed tool: the model can call it, but the WORKER never runs it — it streams a client_tool event to the widget, which executes the action (cart, theme, navigation, …) locally. Defs only (no handler) reach the server. Reads should come from the per-turn client-state snapshot, not these (which return only a generic ack).

    interface ClientToolDef {
        name: string;
        description: string;
        parameters: object;
    }
    Index

    Properties

    name: string
    description: string
    parameters: object