evals_invoke
Run a custom evaluator on an input and output to assess result quality, optionally comparing the output against an expected output.
Instructions
Invoke a custom evaluator
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"eval_id": "<eval_id>",
"input": "<input>",
"output": "<output>"
},
"name": "evals_invoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Input to evaluate | |
| output | Yes | Output to evaluate | |
| eval_id | Yes | Evaluator ID | |
| expected | No | Expected output |