Skip to content
1 min read · 17 words

Type Alias: JsonValue ​

ts
type JsonValue =
  | string
  | number
  | boolean
  | null
  | JsonValue[]
  | {
      [key: string]: JsonValue;
    };

Defined in: src/batteries/llm/chat_common/tool_parsers.ts:30

A JSON-serialisable value — the shape of parsed tool-call arguments.