Contents

init(id:toolName:segments:)

Creates a tool output that provides the result of a tool call back to the model.

Declaration

init(id: String, toolName: String, segments: [Transcript.Segment])

Parameters

  • id:

    A unique identifier for the tool output.

  • toolName:

    The name of the tool that produced the output.

  • segments:

    The segments that make up the output.