tools
autogen.tools.tool
tool
Decorator to create a Tool from a function.
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]], Tool] | Callable[[Callable[…, Any]], Tool]: A decorator that creates a Tool from a function. |