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.
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. |