Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: no json output vars in front-page tool (#5943)
非法操作46eca01fa356
diff --git a/web/app/components/workflow/constants.ts b/web/app/components/workflow/constants.tsindex a6f313e98e4..1786ca4b47f 100644--- a/web/app/components/workflow/constants.ts+++ b/web/app/components/workflow/constants.ts@@ -377,6 +377,10 @@ export const TOOL_OUTPUT_STRUCT: Var[] = [variable: 'files',type: VarType.arrayFile,},+ {+ variable: 'json',+ type: VarType.arrayObject,+ },]export const PARAMETER_EXTRACTOR_COMMON_STRUCT: Var[] = [diff --git a/web/app/components/workflow/nodes/tool/panel.tsx b/web/app/components/workflow/nodes/tool/panel.tsxindex e783e56ca71..1b00045c0fe 100644--- a/web/app/components/workflow/nodes/tool/panel.tsx+++ b/web/app/components/workflow/nodes/tool/panel.tsx@@ -131,6 +131,11 @@ const Panel: FC<NodePanelProps<ToolNodeType>> = ({type='Array[File]'description={t(`${i18nPrefix}.outputVars.files.title`)}/>+ <VarItem+ name='json'+ type='Array[Object]'+ description={t(`${i18nPrefix}.outputVars.json`)}+ /></></OutputVars></div>diff --git a/web/i18n/en-US/workflow.ts b/web/i18n/en-US/workflow.tsindex 617e3f81351..4ac3e82a957 100644--- a/web/i18n/en-US/workflow.ts+++ b/web/i18n/en-US/workflow.ts@@ -396,6 +396,7 @@ const translation = {url: 'Image url',upload_file_id: 'Upload file id',},+ json: 'tool generated json',},},questionClassifiers: {diff --git a/web/i18n/zh-Hans/workflow.ts b/web/i18n/zh-Hans/workflow.tsindex fe38904e5b7..a71b22c8e07 100644--- a/web/i18n/zh-Hans/workflow.ts+++ b/web/i18n/zh-Hans/workflow.ts@@ -396,6 +396,7 @@ const translation = {url: '图片链接',upload_file_id: '上传文件ID',},+ json: '工具生成的json',},},questionClassifiers: {