Summarise how the agent is doing in production
cs_summarize_transcriptsSummarize recent agent transcripts to reveal session outcomes, escalation rates, topic and tool usage, and questions behind failures, so you can prioritize what to fix next.
Instructions
Aggregate over recent sessions: how they ended, the escalation rate, average turns, how many never matched a topic, the topics and tools that actually fire, and the questions behind the sessions that went badly. Read-only. This is the input for deciding what to fix next, and for cs_create_test_set_csv fromTranscripts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum sessions to read (default 100, max 500) | |
| days | No | Window in days (default: everything returned) | |
| topN | No | How many topics/tools/questions to list (default 10) | |
| botId | No | Agent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID. | |
| clientId | No | Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id. | |
| tenantId | No | Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID. | |
| workspace | No | Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory. | |
| environmentId | No | Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID. |