ReasoningSpec interface

The specification produced by the planning phase. - state: opaque JSON designed by the planning LLM for the evaluation LLM to track temporal context. Norsk does not interpret this. - prompt: the instruction sent to the evaluation LLM alongside each frame and the current state. - explanation: optional reasoning from the planning LLM about its design choices (why it chose certain state fields, etc.) - localTools: optional list of local analysis tools to enable - includeFrame: whether to include JPEG frames in LLM calls (default true)

Internally, the SDK implementation carries additional data (callback definitions, function references, tool specs) but these are not exposed.

Signature:

export interface ReasoningSpec

Properties

Property Type Description

explanation?

string

(Optional)

includeFrame?

boolean

(Optional)

localTools?

LocalToolConfig[]

(Optional)

prompt

string

state

object