Agent Client Protocol - v0.28.0
    Preparing search index...

    Type Alias UsageUpdate

    Context window and cost update for a session.

    type UsageUpdate = {
        used: number;
        size: number;
        cost?: Cost | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    Properties

    Properties

    used: number

    Tokens currently in context.

    size: number

    Total context window size in tokens.

    cost?: Cost | null

    Cumulative session cost (optional).

    _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