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?
optionaldefault:any
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:374
description?
optionaldescription:string
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:368
enum?
optionalenum:string[]
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:386
items?
optionalitems:any
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:393
maximum?
optionalmaximum:number
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:459
maxItems?
optionalmaxItems:number
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:407
maxLength?
optionalmaxLength:number
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:440
minimum?
optionalminimum:number
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:453
minItems?
optionalminItems:number
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:400
minLength?
optionalminLength:number
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:433
multipleOf?
optionalmultipleOf:number
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:465
pattern?
optionalpattern:string
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:446
properties?
optionalproperties:Record<string,any>
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:414
required?
optionalrequired:string[]
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:425
title?
optionaltitle:string
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:362
type?
optionaltype:string
Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:356