invariance_eval_scorer_create
Create a named evaluation scorer to map output and expected pairs to a 0..1 score using built-in kinds like exact_match or numeric_tolerance.
Instructions
Register a scorer (named scoring rule that maps an output+expected pair to a 0..1 score). Built-in scorer kinds: exact_match, contains, numeric_tolerance, json_match, levenshtein.
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": {
"body": "<body>"
},
"name": "invariance_eval_scorer_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | CreateEvalScorerRequest as a JSON object string. Required: name, kind. Optional: config (object — kind-specific, e.g. {"tolerance":0.1} for numeric_tolerance). Example: {"name":"refund-exact","kind":"exact_match"} |