---
title: "init(toolCalls:toolOutputs:instructionText:prompts:responses:)"
framework: evaluations
role: symbol
role_heading: Initializer
path: "evaluations/structuredtranscript/init(toolcalls:tooloutputs:instructiontext:prompts:responses:)"
---

# init(toolCalls:toolOutputs:instructionText:prompts:responses:)

Creates a structured transcript.

## Declaration

```swift
init(toolCalls: [Transcript.ToolCall] = [], toolOutputs: [Transcript.ToolOutput] = [], instructionText: String = "", prompts: [String] = [], responses: [Transcript.Response] = [])
```

## Parameters

- `toolCalls`: The tool calls from the session.
- `toolOutputs`: The tool outputs from the session.
- `instructionText`: The system instructions text.
- `prompts`: The user prompts.
- `responses`: The model responses.
