Member Junction
    Preparing search index...

    The serialized outcome of executing a realtime tool call.

    RealtimeToolBroker.ExecuteToolCall returns this so the transport layer (server-bridged session or client-direct resolver) can feed ExecutedToolCall.ResultJson back to the model (e.g. via IRealtimeSession.SendToolResult) without knowing anything about how the result was produced.

    interface ExecutedToolCall {
        Artifacts?: DelegatedRunArtifact[];
        PausedRunID?: string;
        ResultJson: string;
        RunID?: string;
        Success: boolean;
    }
    Index

    Properties

    Artifacts?: DelegatedRunArtifact[]

    Artifacts the delegated run produced (propagated from DelegatedResult.Artifacts) — also embedded in ResultJson as artifacts: [{ artifactId, artifactVersionId, name }]. Absent for non-delegation tools and for delegations that produced no artifacts.

    PausedRunID?: string

    When the delegated target-agent run paused awaiting user feedback, this surfaces the paused run's id (propagated from DelegatedResult.PausedRunID) so the transport layer can persist it and resume that run on the user's next answer. Absent for non-delegation tools and for delegated runs that completed without pausing.

    ResultJson: string

    The JSON-stringified tool result, shaped exactly as the model expects: { success, output } on success or { success: false, error } on failure (consistent structured errors so the model can narrate the failure — spoken-error-handling).

    RunID?: string

    ID of the delegated target-agent run (propagated from DelegatedResult.RunID) — also embedded in ResultJson as runId. Absent for non-delegation tools and for delegations that failed before a run was created.

    Success: boolean

    Whether the tool/delegation completed successfully.