Contents

init(expected:arguments:)

Creates a trajectory expectation for a single expected tool call.

Declaration

init(expected toolName: String, arguments: [ArgumentMatcher] = [])

Parameters

  • toolName:

    The name of the tool expected to be called.

  • arguments:

    The argument matchers to validate.

See Also

Creating a single-tool expectation