# Functions
GoStruct2ParamsOneOf converts a go struct to a ParamsOneOf.
GoStruct2ToolInfo converts a go struct to a ToolInfo.
InferStreamTool creates an StreamableTool from a given function by inferring the ToolInfo from the function's request parameters End-user can pass a SchemaCustomizerFn in opts to customize the go struct tag parsing process, overriding default behavior.
InferTool creates an InvokableTool from a given function by inferring the ToolInfo from the function's request parameters.
NewStreamTool Create a streaming tool, where the input and output are both in JSON format.
NewTool Create a tool, where the input and output are both in JSON format.
WithMarshalOutput wraps the marshal output option.
WithSchemaCustomizer sets a user-defined schema customizer for inferring tool parameter from tagged go struct.
WithUnmarshalArguments wraps the unmarshal arguments option.
# Type aliases
InvokeFunc is the function type for the tool.
MarshalOutput is the function type for marshalling the output.
Option is the option func for the tool.
SchemaCustomizerFn is the schema customizer function for inferring tool parameter from tagged go struct.
StreamFunc is the function type for the streamable tool.
UnmarshalArguments is the function type for unmarshalling the arguments.