@squidcloud/backend
    Preparing search index...

    Type Alias AiFunctionAction<T>

    AiFunctionAction: (
        params: T,
        context: AiFunctionCallContextWithIntegration<any, any, any>,
    ) => any

    A type defining an AI function action with parameters and context. The context object may be AiFunctionCallContext (for functions with no integration type) or AiFunctionCallContextWithIntegration.

    Type Parameters

    • T extends Record<string, any> = any

    Type declaration