metrics_suggest_variants
Ask the model to rewrite the metric's judge instruction in N variants targeted at the recent disagreements. Each variant is saved as a draft MetricVersion with source="suggestion". Returns the persisted drafts. Stripe-metering hooks fire via ActiveSupport::Notifications under completion_kit.judge_suggestion.generated.
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": {
"metric_id": "<metric_id>"
},
"name": "metrics_suggest_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many variants to request (default 1, max 3). One focused rewrite beats five reworded copies. | |
| model | No | Override the model used to generate variants. Defaults to the configured judge model or an available judging model. | |
| metric_id | Yes |