Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/agent / / OutputSpec

Interface: OutputSpec<TOutput>

Defined in: packages/agent/src/types.ts:55

Output type specification.

Stable

Type Parameters

Type Parameter
TOutput

Properties

PropertyModifierTypeDescriptionDefined in
description?readonlystringOptional description shown to the model alongside the schema.packages/agent/src/types.ts:60
kindreadonly"text" | "structured"-packages/agent/src/types.ts:56
schema?readonly{ parse: TOutput; }Optional Zod schema for structured output validation.packages/agent/src/types.ts:58
schema.parsepublicTOutput-packages/agent/src/types.ts:58