Skip to content

PersistentAI API Documentation / @persistent-ai/fireflow-nodes / ToolSchemaProperty

Class: ToolSchemaProperty

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:350

Tool schema property — mirrors JSON Schema draft 2020-12 property definition. Every field that schemaExtraction.ts can produce must be declared here as a @Port* so the FireFlow port system preserves them during serialization round-trips. Fields NOT present here are silently dropped, which is why 'items' must be declared. Note: enumTitles is intentionally absent — it is a FireFlow UI extension, not valid JSON Schema.

Constructors

Constructor

new ToolSchemaProperty(): ToolSchemaProperty

Returns

ToolSchemaProperty

Properties

default?

optional default: any

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:374


description?

optional description: string

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:368


enum?

optional enum: string[]

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:386


items?

optional items: any

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:393


maximum?

optional maximum: number

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:459


maxItems?

optional maxItems: number

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:407


maxLength?

optional maxLength: number

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:440


minimum?

optional minimum: number

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:453


minItems?

optional minItems: number

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:400


minLength?

optional minLength: number

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:433


multipleOf?

optional multipleOf: number

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:465


pattern?

optional pattern: string

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:446


properties?

optional properties: Record<string, any>

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:414


required?

optional required: string[]

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:425


title?

optional title: string

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:362


type?

optional type: string

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:356

Licensed under BUSL-1.1