pick_message_variant
Retrieves a message-angle variant for a project using a server-side weighted draw, providing the chosen variant's subject, body approach, and label. Returns NOT_FOUND if no active variants are available.
Instructions
Pick an active message-angle variant for the project via a server-side weighted draw. Returns the drawn variant id, its subject pattern, its body approach (line absent when the variant has none), and label; NOT_FOUND when the project has no active variants.
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": {
"projectId": "<projectId>"
},
"name": "pick_message_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project name or ID | |
| variantId | No | A specific active variant id to bypass the weighted draw; an unknown or archived id silently falls through to the draw. |