@@ -543,7 +543,11 @@ export class CWCTelemetryHelper {
543
543
cwsprChatFullDisplayLatency : fullDisplayLatency ,
544
544
cwsprChatRequestLength : triggerPayload . message . length ,
545
545
cwsprChatResponseLength : message . messageLength ,
546
- cwsprChatConversationType : triggerPayload . origin ? 'AgenticChat' : 'Chat' ,
546
+ cwsprChatConversationType : triggerPayload . origin
547
+ ? triggerPayload . toolResults
548
+ ? 'AgenticChatWithToolUse'
549
+ : 'AgenticChat'
550
+ : 'Chat' ,
547
551
credentialStartUrl : AuthUtil . instance . startUrl ,
548
552
codewhispererCustomizationArn : triggerPayload . customization . arn ,
549
553
cwsprChatHasProjectContext : hasProjectLevelContext ,
@@ -623,7 +627,11 @@ export class CWCTelemetryHelper {
623
627
cwsprChatActiveEditorImportCount : triggerPayload . codeQuery ?. fullyQualifiedNames ?. used ?. length ,
624
628
cwsprChatResponseCode : responseCode ,
625
629
cwsprChatRequestLength : triggerPayload . message ?. length ?? 0 ,
626
- cwsprChatConversationType : triggerPayload . origin ? 'AgenticChat' : 'Chat' ,
630
+ cwsprChatConversationType : triggerPayload . origin
631
+ ? triggerPayload . toolResults
632
+ ? 'AgenticChatWithToolUse'
633
+ : 'AgenticChat'
634
+ : 'Chat' ,
627
635
credentialStartUrl : AuthUtil . instance . startUrl ,
628
636
requestId : requestID ,
629
637
reasonDesc : getTelemetryReasonDesc ( errorReason ) ,
0 commit comments