Write Report And Open HTML
ctm_voiceai_write_reportTurns voice agent review analysis into a PII-scrubbed HTML report by writing files, rendering the page, and opening it in the browser.
Instructions
Step 6 of the review flow: takes the analysis the assistant produced, writes it to files, renders the self-contained HTML report, and opens it in the browser. Pass the canonical topics, an optional per-call table, the reviewed agents with their current instructions, the recommendations Markdown, and the suggested fully rewritten prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bots | No | The reviewed agents and their current instructions. | |
| open | No | Open the report in the browser. Default true. | |
| topics | Yes | Canonical topics synthesized from the calls. | |
| out_dir | No | ||
| rewrites | No | ||
| call_rows | No | Optional per-call extraction rows. | |
| account_id | Yes | CTM sub-account id. | |
| call_context | No | Optional context, e.g. { call_count: 500 }. | |
| recommendations | No |