@squidcloud/backend
    Preparing search index...

    Interface AiFunctionMetadataOptions

    Options for the @aiFunction annotation.

    interface AiFunctionMetadataOptions {
        attributes?: AiFunctionAttributes;
        description: string;
        id?: 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.

    id?: string

    Unique AI function ID. If not set, the function name (excluding the class name) is used as the default ID. If not provided the ID of the function is constructed as 'ClassName:FunctionName'.

    params: AiFunctionParam[]

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