Skip to content

ToolCallJudgeExpectedTool

ToolCallJudgeExpectedTool = string | { arguments?: unknown; name: string; }

Expected tool-call shape accepted by ToolCallJudge().

const expectedTools: ToolCallJudgeExpectedTool[] = [
"lookupInvoice",
{ name: "createRefund", arguments: { invoiceId: "inv_123" } },
];