@honua/sdk-js
    Preparing search index...

    Interface NlCompletionRequestExperimental

    interface NlCompletionRequest {
        attempt: number;
        correction?: NlSelfCorrection;
        instruction: string;
        messages: readonly NlCompletionMessage[];
        purpose: "propose" | "self-correct";
        system: string;
        tools: readonly HonuaMcpCompatibleToolDefinition[];
    }
    Index

    Properties

    attempt: number

    1-based attempt counter across the propose/self-correct loop.

    correction?: NlSelfCorrection
    instruction: string
    messages: readonly NlCompletionMessage[]
    purpose: "propose" | "self-correct"
    system: string

    Agent-tools JSON schemas in provider-neutral MCP-compatible shape.