Member Junction
    Preparing search index...

    Interface DelegateToTargetRequest

    A request to delegate work to the target agent, derived from an invoke-target-agent tool call.

    interface DelegateToTargetRequest {
        AbortSignal: AbortSignal;
        Arguments: string;
        CallID: string;
        OnProgress?: AgentExecutionProgressCallback;
    }
    Index

    Properties

    AbortSignal: AbortSignal

    Abort signal owned by the broker for this specific delegated call. On barge-in (RealtimeToolBroker.AbortInFlight), the broker aborts the controller behind this signal so a stale delegated result is never narrated into a conversation that has moved on.

    Arguments: string

    The raw arguments JSON string the model emitted for the call (e.g. the natural-language request to hand to the target agent). The delegate parses this into the target's expected input shape.

    CallID: string

    The provider-assigned call ID, used to correlate the eventual tool result.

    Optional progress callback the CALLER wants threaded into the delegated agent run's onProgress (in addition to any host-level callback the delegate already wires). The server-bridged import('./realtime-session-runner').RealtimeSessionRunner supplies this so it can narrate the delegated run's progress over the live provider socket (SendContextNote / RequestSpokenUpdate). Delegates that run agents should invoke it alongside their own progress plumbing; delegates without progress support may ignore it.