src/backend/base/langflow/base/tools/component_tool.py
_handle_tool_mode
追加一个component_as_tool
的Output输出
这个Output对应to_toolkit
方法
_get_outputs_to_process和_should_process_output
作为工具情况, 那条边上的名字就是component_as_tool
to_tookit默认实现就是用上述 component_tool 包装为StructuredTool