@adcp/client API Reference - v3.3.3
    Preparing search index...

    Interface BaseTaskEvent

    Base event structure - all events share these fields

    Key identifiers:

    • operationId + agentId = YOUR unique identifier for this work
    • contextId = server's conversation identifier (server creates this)
    • taskId = server's work identifier (server creates this, only for async)
    interface BaseTaskEvent {
        operationId: string;
        agentId: string;
        contextId?: string;
        taskId?: string;
        taskType: string;
        timestamp: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    operationId: string

    Client-generated operation ID - groups related work across multiple agents

    agentId: string

    Agent ID - which agent is handling this

    contextId?: string

    Context ID from server - created by agent on first response

    taskId?: string

    Task ID from server - only present for async operations

    taskType: string

    Task/tool name

    timestamp: string

    Event timestamp