Neutrome SDK reference
    Preparing search index...

    Type Alias ProgramMessage

    A decoded message turn.

    type ProgramMessage = {
        role: MessageRole | null;
        text: string;
        thinking: ProgramThinking[];
        toolCalls: ProgramToolCall[];
        toolResult?: ProgramToolResult;
    }
    Index
    role: MessageRole | null

    Message role, or null when the program did not declare one.

    text: string

    Concatenated message text.

    thinking: ProgramThinking[]

    Thinking blocks attached to this message.

    toolCalls: ProgramToolCall[]

    Tool calls emitted in this message.

    toolResult?: ProgramToolResult

    Tool result carried by this message, for tool role turns.