Field Notes
    Preparing search index...

    Function useToolOptions

    • [options, setOptions] for the named tool — updates when the tool's options change. options is null if the tool is not registered or does not expose options. A ref or getter toolName is followed: the composable resubscribes to the new tool.

      Type Parameters

      • T extends Record<string, unknown>

      Parameters

      • toolName: MaybeRefOrGetter<string>

      Returns [Readonly<ShallowRef<T | null>>, (partial: Partial<T>) => void]