mcp,生成数据代码

This commit is contained in:
lzy
2025-04-16 11:15:01 +08:00
parent 72045e5cfe
commit 6b92e54a41
66 changed files with 1938 additions and 1483 deletions

4
test_mars_toolkit.py Normal file → Executable file
View File

@@ -155,7 +155,7 @@ def print_tool_schemas():
if __name__ == "__main__":
# 打印所有工具函数的模式
#print_tool_schemas()
print_tool_schemas()
# 测试工具函数列表
tools_to_test = [
@@ -172,7 +172,7 @@ if __name__ == "__main__":
]
# 选择要测试的工具
tool_name = tools_to_test[1] # 测试 search_online 工具
tool_name = tools_to_test[2] # 测试 search_online 工具
# 运行测试
result = asyncio.run(test_tool(tool_name))