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