tooluniverse 1.0.11__py3-none-any.whl → 1.0.11.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tooluniverse might be problematic. Click here for more details.
- tooluniverse/execute_function.py +4 -0
- tooluniverse/smcp.py +10 -2
- {tooluniverse-1.0.11.dist-info → tooluniverse-1.0.11.1.dist-info}/METADATA +1 -1
- {tooluniverse-1.0.11.dist-info → tooluniverse-1.0.11.1.dist-info}/RECORD +8 -8
- {tooluniverse-1.0.11.dist-info → tooluniverse-1.0.11.1.dist-info}/WHEEL +0 -0
- {tooluniverse-1.0.11.dist-info → tooluniverse-1.0.11.1.dist-info}/entry_points.txt +0 -0
- {tooluniverse-1.0.11.dist-info → tooluniverse-1.0.11.1.dist-info}/licenses/LICENSE +0 -0
- {tooluniverse-1.0.11.dist-info → tooluniverse-1.0.11.1.dist-info}/top_level.txt +0 -0
tooluniverse/execute_function.py
CHANGED
|
@@ -3046,6 +3046,9 @@ class ToolUniverse:
|
|
|
3046
3046
|
# Extract tool configuration
|
|
3047
3047
|
tools_config = config.get("tools", {})
|
|
3048
3048
|
|
|
3049
|
+
# Handle tools_file parameter
|
|
3050
|
+
tools_file_param = kwargs.get("tools_file")
|
|
3051
|
+
|
|
3049
3052
|
# Merge with override parameters
|
|
3050
3053
|
tool_type = kwargs.get("tool_type") or tools_config.get("categories")
|
|
3051
3054
|
exclude_tools = kwargs.get("exclude_tools") or tools_config.get(
|
|
@@ -3070,6 +3073,7 @@ class ToolUniverse:
|
|
|
3070
3073
|
exclude_tools=exclude_tools,
|
|
3071
3074
|
exclude_categories=exclude_categories,
|
|
3072
3075
|
include_tools=include_tools,
|
|
3076
|
+
tools_file=tools_file_param, # KEY FIX: Pass tools_file
|
|
3073
3077
|
include_tool_types=include_tool_types,
|
|
3074
3078
|
exclude_tool_types=exclude_tool_types,
|
|
3075
3079
|
)
|
tooluniverse/smcp.py
CHANGED
|
@@ -386,8 +386,16 @@ class SMCP(FastMCP):
|
|
|
386
386
|
for uri in space_list:
|
|
387
387
|
print(f"📦 Loading Space: {uri}")
|
|
388
388
|
|
|
389
|
-
#
|
|
390
|
-
config = self.tooluniverse.load_space(
|
|
389
|
+
# Pass filtering parameters from SMCP to load_space
|
|
390
|
+
config = self.tooluniverse.load_space(
|
|
391
|
+
uri,
|
|
392
|
+
exclude_tools=self.exclude_tools,
|
|
393
|
+
exclude_categories=self.exclude_categories,
|
|
394
|
+
include_tools=self.include_tools,
|
|
395
|
+
tools_file=self.tools_file, # KEY FIX: Pass tools_file filter
|
|
396
|
+
include_tool_types=self.include_tool_types,
|
|
397
|
+
exclude_tool_types=self.exclude_tool_types,
|
|
398
|
+
)
|
|
391
399
|
|
|
392
400
|
# Get configurations from ToolUniverse (complete reuse)
|
|
393
401
|
self.space_metadata = self.tooluniverse.get_space_metadata()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tooluniverse
|
|
3
|
-
Version: 1.0.11
|
|
3
|
+
Version: 1.0.11.1
|
|
4
4
|
Summary: A comprehensive collection of scientific tools for Agentic AI, offering integration with the ToolUniverse SDK and MCP Server to support advanced scientific workflows.
|
|
5
5
|
Author-email: Shanghua Gao <shanghuagao@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/mims-harvard/ToolUniverse
|
|
@@ -33,7 +33,7 @@ tooluniverse/enrichr_tool.py,sha256=beM7xZiZ6FdHgYQUSNb_jfkcbrNC8CumXNJgPE9e1PI,
|
|
|
33
33
|
tooluniverse/ensembl_tool.py,sha256=Fjn7dABWpZ55DOQi0sBH2j84nPwSmU4yog3D2pBHAT4,4970
|
|
34
34
|
tooluniverse/europe_pmc_tool.py,sha256=-3CAq5tDhS5NoeHifevadBgP_MHDZJdwNmM5SvjbAa8,6080
|
|
35
35
|
tooluniverse/exceptions.py,sha256=3svVCG7H_G_8E1mco74KWi44u1M7V1JojVycSEWdi_o,5386
|
|
36
|
-
tooluniverse/execute_function.py,sha256=
|
|
36
|
+
tooluniverse/execute_function.py,sha256=GatQ21Lqf5BXGwngF7YBD5s-wSsh9TaAvuSAvka6OVs,128407
|
|
37
37
|
tooluniverse/extended_hooks.py,sha256=bBI9SZM6IFiHblsZscBotOFNwlkUNi1hrp3cS7JVuZk,15372
|
|
38
38
|
tooluniverse/fatcat_tool.py,sha256=-QEOYbv6KEcrOiOa27Ms1xm0sySB-vW4rWEinsS6EDw,2051
|
|
39
39
|
tooluniverse/file_download_tool.py,sha256=jFH8cFNvcd6snO2lMw1NCdZAPoQ5zoEHi7MGIeTTut4,9354
|
|
@@ -91,7 +91,7 @@ tooluniverse/remote_tool.py,sha256=Sa7YNeitFaHyUS6P5gY79kqJdp4i6zHSr5VbM1SdQpI,3
|
|
|
91
91
|
tooluniverse/restful_tool.py,sha256=H7alq_vO3G4iVgZIZrrWh9vq2ForJN52Fl7_QOq7yaM,4409
|
|
92
92
|
tooluniverse/screen_tool.py,sha256=JuSj-qhFUSuYsHlyQzdXdOhVhEzVoJjSql1dWpLOp4A,1580
|
|
93
93
|
tooluniverse/semantic_scholar_tool.py,sha256=gaDDL5Xy4Ij3qNqipZvwRfOBSyzGyIN8AANT-pYKHvI,3227
|
|
94
|
-
tooluniverse/smcp.py,sha256=
|
|
94
|
+
tooluniverse/smcp.py,sha256=t7cGLI1rRPoPXv42NI-KLjbQjraVkGipH5k64S13Svg,107782
|
|
95
95
|
tooluniverse/smcp_server.py,sha256=kLJesbeWOSL1eBhVlv5k1WCTG4BRLTpDEkfySyaFG-8,35214
|
|
96
96
|
tooluniverse/string_tool.py,sha256=3rio0Lt97FuU6fbpykq3ETqD9pA4h_gPR0uXKRb7Zu4,3936
|
|
97
97
|
tooluniverse/tool_finder_embedding.py,sha256=JDSPlI51grK51aX3072qc4mhbYVrhKaOLnY3hA7hDjM,11274
|
|
@@ -974,9 +974,9 @@ tooluniverse/tools/visualize_molecule_3d.py,sha256=0fFkjGz0hrNyRBiXRV_FY8yWXR47j
|
|
|
974
974
|
tooluniverse/tools/visualize_protein_structure_3d.py,sha256=ifTkgPvtNtvJ9q8d7zmSqSnd32oFmRcKkoO8p1SdVUU,2358
|
|
975
975
|
tooluniverse/tools/web_api_documentation_search.py,sha256=AVw0w3LylreiKB6pCGooVUvZ1jydsuJnAzxD8HVf6vg,1707
|
|
976
976
|
tooluniverse/tools/web_search.py,sha256=IjpR7Z6glY4DYX39YhSk6UP4bj5_f1LYAdr8WU9uaFk,1866
|
|
977
|
-
tooluniverse-1.0.11.dist-info/licenses/LICENSE,sha256=0P0qDClpVzrnQUe3QAu7V-alszSBa-6hVHXyn9Xe60k,11351
|
|
978
|
-
tooluniverse-1.0.11.dist-info/METADATA,sha256=
|
|
979
|
-
tooluniverse-1.0.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
980
|
-
tooluniverse-1.0.11.dist-info/entry_points.txt,sha256=SAdqP4tU4mMOtp1YWaOHTwnIHhnoiD1wmfKGlSfNSy0,647
|
|
981
|
-
tooluniverse-1.0.11.dist-info/top_level.txt,sha256=zZ8YeCJ5FAkEwdd_mxsFtSCQMBDgBdxrrmHo3RNBiWs,13
|
|
982
|
-
tooluniverse-1.0.11.dist-info/RECORD,,
|
|
977
|
+
tooluniverse-1.0.11.1.dist-info/licenses/LICENSE,sha256=0P0qDClpVzrnQUe3QAu7V-alszSBa-6hVHXyn9Xe60k,11351
|
|
978
|
+
tooluniverse-1.0.11.1.dist-info/METADATA,sha256=UjiTcWroccK8NnbdwNdscNxRCuZ8yoP0Pdk8-SH4sFI,21364
|
|
979
|
+
tooluniverse-1.0.11.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
980
|
+
tooluniverse-1.0.11.1.dist-info/entry_points.txt,sha256=SAdqP4tU4mMOtp1YWaOHTwnIHhnoiD1wmfKGlSfNSy0,647
|
|
981
|
+
tooluniverse-1.0.11.1.dist-info/top_level.txt,sha256=zZ8YeCJ5FAkEwdd_mxsFtSCQMBDgBdxrrmHo3RNBiWs,13
|
|
982
|
+
tooluniverse-1.0.11.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|