class DynamicStructuredToolStructuredTool<SchemaT, SchemaOutputT, SchemaInputT, ToolOutputT, ToolEventT>SerializableA tool that can be created dynamically from a function, name, and description, designed to work with structured data. It extends the StructuredTool class and overrides the _call method to execute the provided function when the tool is called.
Schema can be passed as Zod or JSON schema. The tool will not validate input if JSON schema is passed.