mcp-use TypeScript API
    Preparing search index...

    Function useWidgetProps

    Deprecated temporary v1 widget compatibility. New views must use the focused native v2 hooks exported above. Removed in mcp-use v3.

    Use the native v2 view exports above. Removed in mcp-use v3.

    • Read v1 widget props.

      Type Parameters

      Parameters

      Returns Partial<TProps>

      Use native v2 useToolContext. Removed in mcp-use v3.