Generate scenario
generate_scenarioGenerate a test scenario for agent evaluation, choosing type (info_exchange or interview) and skill tags. Supports single or batch generation up to 50 scenarios.
Instructions
Generates a new test scenario of a given type (info_exchange or interview) with optional skill tags and context, then blocks until generation finishes (typically 30s–2min). Set num_scenarios greater than 1 for batch mode (requires tag_pool). Returns the new scenario’s uuid, or batch uuids when batching, or a structured error with details if generation fails (e.g. incompatible tags).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workspace-unique scenario name. | |
| tags | No | Skill tag names (use list_compatible_tags to pick valid ones). | |
| tag_pool | No | Required when num_scenarios > 1; universe of tag names to sample from. | |
| total_tags | No | Batch only; tags drawn per scenario from tag_pool. | |
| include_tags | No | Batch only; tags required in every scenario (subset of tag_pool). | |
| num_scenarios | No | Batch size. 1 = single scenario (default). Greater than 1 requires tag_pool. | |
| scenario_type | Yes | ||
| context_prompt | No | ||
| max_tags_per_npc | No | Batch only; caps tags per NPC. |