Skip to content

PersistentAI API Documentation / @persistent-ai/fireflow-types / extractNodeSchema

Function: extractNodeSchema()

extractNodeSchema(node): ExtractedSchema

Defined in: packages/fireflow-types/src/tool/schema-extraction.ts:66

Extracts input and output schema from a node for tool definition. Converts node's input and output ports to JSON schema format.

Parameters

node

INode

Returns

ExtractedSchema

Licensed under BUSL-1.1