Skip to content

Output Parser Structured

Node: outputParserStructured · Full type: @n8n/n8n-nodes-langchain.outputParserStructured · Version: 1.3

Parameters

Parameter Type Default Details
schemaType options "fromJson" fromJson, manual
jsonSchemaExample json "{
"state": "California",
"cities": ..."
inputSchema json "{
"type": "object",
"properties": {..."
jsonSchema json "{
"type": "object",
"properties":..." required
autoFix boolean false
customizeRetryPrompt boolean false
prompt string "Instructions:
--------------
{instruc..."

Example

NODE "outputParserStructured" AS "Output Parser Structured" {
  jsonSchema: "{
  "type": "object",
  "properties": {
    "state": {
      "type": "string"
    },
    "cities": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}"
}