EvalChecks.ToolCallArgsMatch Method
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 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.