ART Framework API Docs
    Preparing search index...

    Interface BlockingToolCompletedResult

    The successful result created by the framework when user provides feedback.

    This is what the LLM sees after resumption - a normal successful tool result. The content field contains a description, and output contains the feedback.

    interface BlockingToolCompletedResult {
        callId: string;
        metadata?: {
            completedAt: number;
            suspensionId?: string;
            waitDurationMs?: number;
            [key: string]: unknown;
        };
        output: {
            approved: boolean;
            feedback: HITLFeedback;
            message: string;
            value?: unknown;
        };
        status: "success";
        toolName: string;
    }
    Index

    Properties

    callId: string
    metadata?: {
        completedAt: number;
        suspensionId?: string;
        waitDurationMs?: number;
        [key: string]: unknown;
    }

    Metadata about the completion.

    Type declaration

    • [key: string]: unknown
    • completedAt: number

      Timestamp of when feedback was received.

    • OptionalsuspensionId?: string

      The original suspension ID that was resumed.

    • OptionalwaitDurationMs?: number

      Duration from suspension to completion in ms.

    output: {
        approved: boolean;
        feedback: HITLFeedback;
        message: string;
        value?: unknown;
    }

    The user's feedback structured as the tool output.

    Type declaration

    • approved: boolean

      Whether the user approved the action.

    • feedback: HITLFeedback

      The feedback provided by the user.

    • message: string

      Human-readable summary of what happened.

    • Optionalvalue?: unknown

      The actual value provided (varies by input type).

    status: "success"
    toolName: string