init(tool:)
Creates a tool definition that describes the tool you provide.
Declaration
init(tool: some Tool)Parameters
- tool:
The tool whose name, description, and parameters describe the definition.
Creates a tool definition that describes the tool you provide.
init(tool: some Tool)The tool whose name, description, and parameters describe the definition.