EvalChecks.ToolCallArgsMatch Method

Definition

A check that verifies expected tool calls match on name and optionally arguments.

public static Microsoft.Agents.AI.EvalCheck ToolCallArgsMatch();
static member ToolCallArgsMatch : unit -> Microsoft.Agents.AI.EvalCheck
Public Shared Function ToolCallArgsMatch () As EvalCheck

Returns

An EvalCheck delegate.

Remarks

For each expected tool call, finds matching calls in the conversation by name. If Arguments is provided, checks that the actual arguments contain all expected key-value pairs (subset match — extra actual arguments are OK).

If no expected tool calls are set on the item, the check passes.

Applies to