tools
autogen.tools.tool
tool
Decorator to create a Tool from a function.
Parameters:Name | Description |
---|---|
name | The name of the tool. Type: str | None Default: None |
description | The description of the tool. Type: str | None Default: None |
Type | Description |
---|---|
Callable[[Callable[..., Any]], autogen.tools.Tool] | Callable[[Callable[…, Any]], Tool]: A decorator that creates a Tool from a function. |