tooluniverse 0.1.4__py3-none-any.whl → 0.2.0__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.

@@ -1,16 +1,20 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tooluniverse
3
- Version: 0.1.4
4
- Summary: A collection of biomedical tools designed for use by Agentic AI.
5
- Home-page: https://github.com/mims-harvard/TxAgent
6
- Author: Shanghua Gao
7
- Author-email: shanghuagao@gmail.com
8
- Requires-Python: >=3.6
3
+ Version: 0.2.0
4
+ Summary: A comprehensive collection of biomedical tools for Agentic AI, offering integration with the ToolUniverse SDK and MCP Server to support advanced biomedical workflows.
5
+ Author-email: Shanghua Gao <shanghuagao@gmail.com>
6
+ Project-URL: Homepage, https://github.com/mims-harvard/TxAgent
7
+ Requires-Python: >=3.10
9
8
  Description-Content-Type: text/markdown
10
9
  License-File: LICENSE
11
10
  Requires-Dist: requests
12
11
  Requires-Dist: numpy
13
12
  Requires-Dist: graphql-core
13
+ Requires-Dist: fastapi
14
+ Requires-Dist: uvicorn
15
+ Requires-Dist: fastmcp
16
+ Requires-Dist: pydantic
17
+ Requires-Dist: pyyaml
14
18
  Dynamic: license-file
15
19
 
16
20
  # ToolUniverse
@@ -22,6 +26,7 @@ Dynamic: license-file
22
26
  [![TxAgent](https://img.shields.io/badge/Code-TxAgent-purple)](https://github.com/mims-harvard/TxAgent)
23
27
  [![ToolUniverse](https://img.shields.io/badge/Code-ToolUniverse-purple)](https://github.com/mims-harvard/ToolUniverse)
24
28
  [![HuggingFace](https://img.shields.io/badge/HuggingFace-TxAgentT1-yellow)](https://huggingface.co/collections/mims-harvard/txagent-67c8e54a9d03a429bb0c622c)
29
+ [![Model context protocol (MCP)](https://img.shields.io/badge/Model_Context_Protocol_(MCP)_Supported-green)](README_USAGE.md#running-the-mcp-server)
25
30
 
26
31
  <body>
27
32
  <section class="hero">
@@ -102,26 +107,13 @@ pip install tooluniverse
102
107
 
103
108
  # Usage
104
109
 
105
- **Get all tools**
110
+ ToolUniverse supports both a Python SDK and an MCP server interface.
111
+ - You can use the Python SDK to interact with ToolUniverse programmatically in your Python projects.
112
+ - You can connect to the ToolUniverse MCP server for remote tool execution and integration with other agentic systems.
106
113
 
107
- ```
108
- from tooluniverse import ToolUniverse
109
- tooluni = ToolUniverse()
110
- tooluni.load_tools()
111
- tool_name_list, tool_desc_list = tooluni.refresh_tool_name_desc()
112
- print(tool_name_list)
113
- print(tool_desc_list)
114
- ```
114
+ For more detailed usage examples, see the [README_USAGE](README_USAGE.md) page.
115
115
 
116
- **Function call to a tool**
117
116
 
118
- ```
119
- from tooluniverse import ToolUniverse
120
- tooluni = ToolUniverse()
121
- tooluni.load_tools()
122
- query = {"name": "get_indications_by_drug_name", "arguments": {"drug_name": "KISUNLA"}}
123
- tooluni.run(query)
124
- ```
125
117
  ## Citation
126
118
 
127
119
  ```
@@ -139,3 +131,9 @@ tooluni.run(query)
139
131
  ## Contact
140
132
  If you have any questions or suggestions, please email [Shanghua Gao](mailto:shanghuagao@gmail.com) and [Marinka Zitnik](mailto:marinka@hms.harvard.edu).
141
133
 
134
+ ## Core contributors
135
+
136
+ [Shanghua Gao](https://shgao.site);
137
+ [Richard Zhu](https://www.linkedin.com/in/richard-zhu-4236901a7/);
138
+ [Zhenglun Kong](https://zlkong.github.io/homepage/);
139
+ [Sufian Aldogom](saldogom@mit.edu)
@@ -1,18 +1,21 @@
1
1
  tooluniverse/__init__.py,sha256=j44hf13WM50HQJRi7aloeTG6y6872wJtfX8ydsaiJFI,652
2
2
  tooluniverse/base_tool.py,sha256=WMGgr02lhEsVzHgt7NIeynXQ2wZtu97yZI-lQWOSoSs,1145
3
3
  tooluniverse/execute_function.py,sha256=CmA8AIfyolkcooASD2_3pXgF1BqESU5_VUqdHSYiM_M,10139
4
+ tooluniverse/generate_mcp_tools.py,sha256=LXE6cZzkbuMZbqL5Z0OKfOOYGjttowYFIIXJzlPfv4U,3166
4
5
  tooluniverse/graphql_tool.py,sha256=WU-9YAYbmfbfGwGDn7Y22DVju9t68CKuv_JNz_11NkM,5120
6
+ tooluniverse/mcp_server.py,sha256=9xlhWBCk0GLSwS6G4KPxvpeggSqFeqvBbMv6Q9zlXcA,75841
5
7
  tooluniverse/openfda_tool.py,sha256=s4ctA7ckID7VA1wRceRGknFV5zu9sR7fqTJ8oa9U0q4,21056
6
8
  tooluniverse/restful_tool.py,sha256=5HoTyCSd507D4Qjcqjd16o8Y4BFZ02Zm4cGuczIXWdw,4078
7
9
  tooluniverse/utils.py,sha256=zh1IopojPBIJzK_8eGytTmWlPckluQQZTpiCQONw-pY,6416
8
10
  tooluniverse/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- tooluniverse/data/fda_drug_labeling_tools.json,sha256=iRYkuNk6ohCbNELMbfPghtlCGthjzZch_9Ukr-yjaJI,209383
11
+ tooluniverse/data/fda_drug_labeling_tools.json,sha256=2mChXxdDaP4qo8GqRYm6rK-Gsazryewb4ark2IxaauQ,224727
10
12
  tooluniverse/data/fda_drugs_with_brand_generic_names_for_tool.py,sha256=Clb7kQpPaXPTT_rdDLoinfwF8JbrdRaBis-0TYcT0BU,6510589
11
13
  tooluniverse/data/monarch_tools.json,sha256=I5KvamNZRvkKBaKbM6Ypo333m-RejQhqScX8h-uket4,3567
12
- tooluniverse/data/opentarget_tools.json,sha256=nNvl-vYqS8nLfyIvHO40Fsnx6HJxwInUuS0mrrh6xmY,66201
14
+ tooluniverse/data/opentarget_tools.json,sha256=vQQJsTGIoZWeqInUHmsdwp8kpqzx51f-VVaAVRmJdcU,67794
13
15
  tooluniverse/data/special_tools.json,sha256=tOI0TFpdjZBEE5Af1Vc4CeXQ0gAkz39xho9hDVBYR70,1518
14
- tooluniverse-0.1.4.dist-info/licenses/LICENSE,sha256=Unq9Y3buGL9J0vFop03FYZiVweytt1xdgLIh2n9ck2c,1115
15
- tooluniverse-0.1.4.dist-info/METADATA,sha256=-qi9jrg4MLNop0QFi9ezycLwM-81Poo0J9CkAD4k7Lg,5220
16
- tooluniverse-0.1.4.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
17
- tooluniverse-0.1.4.dist-info/top_level.txt,sha256=zZ8YeCJ5FAkEwdd_mxsFtSCQMBDgBdxrrmHo3RNBiWs,13
18
- tooluniverse-0.1.4.dist-info/RECORD,,
16
+ tooluniverse-0.2.0.dist-info/licenses/LICENSE,sha256=Unq9Y3buGL9J0vFop03FYZiVweytt1xdgLIh2n9ck2c,1115
17
+ tooluniverse-0.2.0.dist-info/METADATA,sha256=ZSkaURh0dRXEdXdZrMvewggnp3f9aZkBAgDhU73deKY,5729
18
+ tooluniverse-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
+ tooluniverse-0.2.0.dist-info/entry_points.txt,sha256=qDvySLz4M6uQDTwVvw-9zeLJ5jUir1aDdWbUrRqq6Bc,207
20
+ tooluniverse-0.2.0.dist-info/top_level.txt,sha256=zZ8YeCJ5FAkEwdd_mxsFtSCQMBDgBdxrrmHo3RNBiWs,13
21
+ tooluniverse-0.2.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (77.0.3)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+ generate-mcp-tools = tooluniverse.generate_mcp_tools:run_generate
3
+ tooluniverse-mcp = tooluniverse.mcp_server:run_server
4
+ tooluniverse-mcp-claude = tooluniverse.mcp_server:run_claude_desktop