MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / main

Function main

examples/06_tool_schema_demo.py:261–281  ·  view source on GitHub ↗

Run all demos.

()

Source from the content-addressed store, hash-verified

259
260
261async def main():
262 """Run all demos."""
263 print("\n🚀 Tool Schema Demo - Using Tool Base Class\n")
264
265 try:
266 # Demo 1: Tool objects with LLM
267 await demo_tool_schemas()
268
269 # Demo 2: Multiple tools
270 await demo_multiple_tools()
271
272 # Demo 3: Schema methods
273 await demo_tool_schema_methods()
274
275 print("\n✅ All demos completed successfully!")
276
277 except Exception as e:
278 print(f"\n❌ Error: {e}")
279 import traceback
280
281 traceback.print_exc()
282
283
284if __name__ == "__main__":

Callers 1

Calls 3

demo_tool_schemasFunction · 0.85
demo_multiple_toolsFunction · 0.85
demo_tool_schema_methodsFunction · 0.85

Tested by

no test coverage detected