Agent Client Protocol - v2.12.0
    Preparing search index...

    Type Alias Cost

    Cost information for a session.

    type Cost = {
        amount: number;
        currency: string;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    amount: number

    Total cumulative cost for session.

    currency: string

    Unit of amount: an ISO 4217 currency code (e.g., "USD", "EUR") for money, or another unit such as "credits".

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility