Skip to content

tinker_cookbook.tool_use.tool

tinker_cookbook.tool_use.tool(fn)

Decorator to create a tool from a function or method.

Parameters:

  • fn (Callable[..., Any])