@cavell/kit API
    Preparing search index...

    Function useRenderToolCall

    • Hook that returns a function to render tool calls based on the render functions defined in CopilotKitProvider.

      Returns (
          __namedParameters: UseRenderToolCallProps,
      ) => ReactElement<unknown, string | JSXElementConstructor<any>> | null

      A function that takes a tool call and optional tool message and returns the rendered component