mcp-use TypeScript API
    Preparing search index...

    Interface ObservabilityConfig

    Configures callbacks and trace metadata for an agent.

    interface ObservabilityConfig {
        agentId?: string;
        customCallbacks?: BaseCallbackHandler[];
        metadata?: Record<string, any>;
        metadataProvider?: () => Record<string, any>;
        observe?: boolean;
        tagsProvider?: () => string[];
        verbose?: boolean;
    }
    Index
    agentId?: string

    Agent ID for tagging traces

    customCallbacks?: BaseCallbackHandler[]

    Custom callbacks to use instead of defaults

    metadata?: Record<string, any>

    Metadata to add to traces

    metadataProvider?: () => Record<string, any>

    Function to get current metadata from agent

    observe?: boolean

    Whether to enable observability (defaults to true)

    tagsProvider?: () => string[]

    Function to get current tags from agent

    verbose?: boolean

    Whether to enable verbose logging