@squidcloud/backend
    Preparing search index...

    Interface AiFunctionCallContextWithIntegration<AiConnectedIntegrationOptionsType, FunctionContextType, AgentContextType>

    AiFunctionContext for the connected integration function. Contains predefined integration data.

    interface AiFunctionCallContextWithIntegration<
        AiConnectedIntegrationOptionsType = unknown,
        FunctionContextType = unknown,
        AgentContextType = unknown,
    > {
        agentContext: AgentContextType;
        agentId: string;
        functionContext: FunctionContextType;
        integrationId: string;
        integrationOptions?: AiConnectedIntegrationOptionsType;
        integrationType:
            | "ai_agents"
            | "active_directory"
            | "ai_chatbot"
            | "algolia"
            | "alloydb"
            | "api"
            | "auth0"
            | "azure_cosmosdb"
            | "azure_postgresql"
            | "azure_sql"
            | "bigquery"
            | "built_in_db"
            | "built_in_gcs"
            | "built_in_queue"
            | "built_in_s3"
            | "cassandra"
            | "clickhouse"
            | "cloudsql"
            | "cockroach"
            | "cognito"
            | "confluence"
            | "confluent"
            | "datadog"
            | "db2"
            | "descope"
            | "documentdb"
            | "dynamodb"
            | "elasticsearch"
            | "firebase_auth"
            | "firestore"
            | "gcs"
            | "google_docs"
            | "google_drive"
            | "graphql"
            | "hubspot"
            | "jira"
            | "jwt_hmac"
            | "jwt_rsa"
            | "kafka"
            | "linear"
            | "mariadb"
            | "monday"
            | "mongo"
            | "mssql"
            | "mysql"
            | "newrelic"
            | "okta"
            | "onedrive"
            | "oracledb"
            | "pinecone"
            | "postgres"
            | "redis"
            | "s3"
            | "salesforce_crm"
            | "sap_hana"
            | "sentry"
            | "servicenow"
            | "snowflake"
            | "spanner"
            | "xata"
            | "zendesk"
            | "mail"
            | "slack";
    }

    Type Parameters

    • AiConnectedIntegrationOptionsType = unknown
    • FunctionContextType = unknown
    • AgentContextType = unknown

    Hierarchy (View Summary)

    Index

    Properties

    agentContext: AgentContextType

    Persistent context of the AI agent that calls the function. Same for all AI functions used by this agent.

    agentId: string

    Unique identifier for the AI agent making the call.

    functionContext: FunctionContextType

    Context specific to each individual AI function call. Can contain parameters or data unique to the current function invocation or current function connection to the AI agent.

    integrationId: string

    Unique ID of the integration instance. Defined only for functions with an integration type specified.

    Defined when called by the connected integration agent. Contains integration options used for the call. See AiConnectedIntegrationMetadata.options.

    integrationType:
        | "ai_agents"
        | "active_directory"
        | "ai_chatbot"
        | "algolia"
        | "alloydb"
        | "api"
        | "auth0"
        | "azure_cosmosdb"
        | "azure_postgresql"
        | "azure_sql"
        | "bigquery"
        | "built_in_db"
        | "built_in_gcs"
        | "built_in_queue"
        | "built_in_s3"
        | "cassandra"
        | "clickhouse"
        | "cloudsql"
        | "cockroach"
        | "cognito"
        | "confluence"
        | "confluent"
        | "datadog"
        | "db2"
        | "descope"
        | "documentdb"
        | "dynamodb"
        | "elasticsearch"
        | "firebase_auth"
        | "firestore"
        | "gcs"
        | "google_docs"
        | "google_drive"
        | "graphql"
        | "hubspot"
        | "jira"
        | "jwt_hmac"
        | "jwt_rsa"
        | "kafka"
        | "linear"
        | "mariadb"
        | "monday"
        | "mongo"
        | "mssql"
        | "mysql"
        | "newrelic"
        | "okta"
        | "onedrive"
        | "oracledb"
        | "pinecone"
        | "postgres"
        | "redis"
        | "s3"
        | "salesforce_crm"
        | "sap_hana"
        | "sentry"
        | "servicenow"
        | "snowflake"
        | "spanner"
        | "xata"
        | "zendesk"
        | "mail"
        | "slack"

    Type of the integration, such as 'mysql', 'mail', etc... Defined only for functions with an integration type specified.