---
title: "init(allPass:percentagePass:argumentMatchModel:)"
framework: evaluations
role: symbol
role_heading: Initializer
path: "evaluations/toolcallevaluator/init(allpass:percentagepass:argumentmatchmodel:)"
---

# init(allPass:percentagePass:argumentMatchModel:)

Creates a new tool call expectations evaluator with a custom language model for semantic matching of .naturalLanguage argument matchers.

## Declaration

```swift
init(allPass: Metric, percentagePass: Metric, argumentMatchModel: any LanguageModel)
```

## Parameters

- `allPass`: The metric for the strict pass or fail result.
- `percentagePass`: The metric for the partial score result.
- `argumentMatchModel`: The language model to use for semantic matching.
