Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adjusting mcp_type definition
  • Loading branch information
smatioli committed Dec 15, 2025
commit de1b8e3a4c15d114556f8099dfc1b013bc53fefa
2 changes: 1 addition & 1 deletion src/backend/base/langflow/helpers/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def json_schema_from_flow(flow: Flow) -> dict:

if field_name == "mcp_type" and field_data.get("value") != "":
val = field_data.get("value")
properties[name]["description"] = val or f"Input for {name}"
properties[name]["type"] = val or "string"

if field_name == "mcp_required" and field_data.get("value", False):
required.append(name)
Expand Down
Loading