Skip to content

Commit f9ec252

Browse files
committed
fix List type parsing
1 parent 94bc9eb commit f9ec252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

langchain_mcp_adapters/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def _parse_field(props):
168168
return Literal[tuple(props['enum'])]
169169
if props['type'] == 'array':
170170
items = props['items']
171-
return List[tuple(_parse_field(items))]
171+
return List[_parse_field(items)]
172172
else:
173173
return type_map.get(props['type'], dict)
174174

0 commit comments

Comments
 (0)