ExpectedToolCall Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A tool call that an agent is expected to make.
public class ExpectedToolCall : IEquatable<Microsoft.Agents.AI.ExpectedToolCall>
type ExpectedToolCall = class
interface IEquatable<ExpectedToolCall>
Public Class ExpectedToolCall
Implements IEquatable(Of ExpectedToolCall)
- Inheritance
-
ExpectedToolCall
- Implements
Remarks
Used with EvaluateAsync to assert that the agent called the correct tools. The evaluator decides matching semantics (order, extras, argument checking); this type is pure data.
Constructors
| Name | Description |
|---|---|
| ExpectedToolCall(ExpectedToolCall) | |
| ExpectedToolCall(String, IReadOnlyDictionary<String,Object>) |
A tool call that an agent is expected to make. |
Properties
| Name | Description |
|---|---|
| Arguments |
Expected arguments. |
| EqualityContract | |
| Name |
The tool/function name (e.g. |
Methods
| Name | Description |
|---|---|
| <Clone>$() | |
| Deconstruct(String, IReadOnlyDictionary<String,Object>) | |
| Equals(ExpectedToolCall) | |
| Equals(Object) | |
| GetHashCode() | |
| PrintMembers(StringBuilder) | |
| ToString() | |
Operators
| Name | Description |
|---|---|
| Equality(ExpectedToolCall, ExpectedToolCall) | |
| Inequality(ExpectedToolCall, ExpectedToolCall) | |