@squidcloud/backend
    Preparing search index...

    Interface AiFunctionOptions

    Options for the @aiFunction annotation.

    interface AiFunctionOptions {
        attributes?: AiFunctionAttributes;
        description: string;
        params: AiFunctionParam[];
    }
    Index

    Properties

    attributes?: AiFunctionAttributes

    Additional optional attributes for the function. Example: related integrations.

    description: string

    Describes the capabilities of the function. This is used by the AI agent to determine when to call it.

    params: AiFunctionParam[]

    Parameters for the AI function. These parameters are passed to the function by the calling agent.