A tool's handler, made by Tool.handler.
Attributes#
| Attribute | Type | Description |
|---|---|---|
name | N_co | |
tool_id | str | |
run | Callable[[Any, HandlerContext[Any]], Effect[Any, Any, Any]] |
Functions#
__init__#
__init__(name, tool_id, run) -> None| Parameter | Type | Description |
|---|---|---|
name | N_co | |
tool_id | str | |
run | Callable[[Any, HandlerContext[Any]], Effect[Any, Any, Any]] |