Skip to content
Français

JsonSchema

import type { JsonSchema } from "@elie-laloum/outpost/harness";

JSON Schema object describing harness tool inputs or JSON response inputs. Tools require an object input and enforce their supported keyword subset; response instructions also accept schemas describing arrays, primitives and unions.

Complete example and detailed rules.

export type JsonSchema = Readonly<Record<string, unknown>>;