tinker_cookbook.tool_use.FunctionTool
Generated from tinker-cookbook at commit 8486b8d. Source links point at that snapshot.
class tinker_cookbook.tool_use.FunctionTool()
A tool created from a decorated function or method.
Implements the Tool protocol. Used internally by the @tool decorator.
property parameters_schema
JSON Schema for tool parameters.
Returns: dict[str, Any]
to_spec()
Convert to ToolSpec for renderer integration.
Returns: ToolSpec