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

    Type Alias ListSessionsRequestExperimental

    UNSTABLE

    This capability is not part of the spec yet, and may be removed or changed at any point.

    Request parameters for listing existing sessions.

    Only available if the Agent supports the listSessions capability.

    type ListSessionsRequest = {
        _meta?: { [key: string]: unknown } | null;
        cursor?: string | null;
        cwd?: string | null;
    }
    Index

    Properties

    Properties

    _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

    cursor?: string | null

    Opaque cursor token from a previous response's nextCursor field for cursor-based pagination

    cwd?: string | null

    Filter sessions by working directory. Must be an absolute path.