GitHub

API reference for Handler.

A tool's handler, made by Tool.handler.

Attributes

AttributeTypeDescription
nameN_co
tool_idstr
runCallable[[Any, HandlerContext[Any]], Effect[Any, Any, Any]]

Functions

__init__

__init__(name, tool_id, run) -> None
ParameterTypeDescription
nameN_co
tool_idstr
runCallable[[Any, HandlerContext[Any]], Effect[Any, Any, Any]]