Python Tool Calling
Using the Maitai tool wrapper, you can easily turn existing functions into tool calls. Previously, you may have been defining tools as JSON objects:@tool
decorator to automatically build that JSON object using your function docstring and arguments.
The same tool call above simply becomes: