Contents

init(id:toolName:arguments:)

Creates a tool call that invokes a tool with the arguments you provide.

Declaration

init(id: String, toolName: String, arguments: GeneratedContent)

Parameters

  • id:

    A unique identifier for the tool call.

  • toolName:

    The name of the tool to invoke.

  • arguments:

    The arguments to pass to the invoked tool.

See Also

Creating a tool call