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

Function main

examples/01_basic_tools.py:118–133  ·  view source on GitHub ↗

Run all demos.

()

Source from the content-addressed store, hash-verified

116
117
118async def main():
119 """Run all demos."""
120 print("=" * 60)
121 print("Basic Tools Usage Examples")
122 print("=" * 60)
123 print("\nThese examples show how to use the core tools directly.")
124 print("In a real agent scenario, the LLM decides which tools to use.\n")
125
126 await demo_write_tool()
127 await demo_read_tool()
128 await demo_edit_tool()
129 await demo_bash_tool()
130
131 print("\n" + "=" * 60)
132 print("All demos completed! ✅")
133 print("=" * 60)
134
135
136if __name__ == "__main__":

Callers 1

01_basic_tools.pyFile · 0.70

Calls 4

demo_write_toolFunction · 0.85
demo_read_toolFunction · 0.85
demo_edit_toolFunction · 0.85
demo_bash_toolFunction · 0.85

Tested by

no test coverage detected