Interface NlCompletionRequestExperimental

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

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.