Module simple

Module simple 

Source
Expand description

Tool that takes in function or coroutine directly.

This module provides the Tool struct for creating simple single-input tools, mirroring langchain_core.tools.simple.

Structs§

Tool
Tool that takes in a function or coroutine directly.
ToolBuilder
Builder for creating Tool instances.

Type Aliases§

AsyncToolFunc
Type alias for async tool function.
ToolFunc
Type alias for sync tool function.