EvalRunOptions
Per-run metadata forwarded to the harness alongside the test input.
Example
Section titled “Example”await run("Refund invoice inv_123", { metadata: { expected: { status: "approved" }, expectedTools: ["lookupInvoice", "createRefund"], },});Type Parameters
Section titled “Type Parameters”TMetadata
Section titled “TMetadata”TMetadata extends HarnessMetadata = HarnessMetadata
Properties
Section titled “Properties”metadata?
Section titled “metadata?”
optionalmetadata?:TMetadata
Per-run expectations or configuration forwarded to harnesses and judges.