Skip to content

@W-20995739 - add MCP tool-level response token usage (responseCharCount)#400

Open
smuduganti-sf wants to merge 1 commit intosalesforcecli:mainfrom
smuduganti-sf:W-20995739-add-responseCharCount
Open

@W-20995739 - add MCP tool-level response token usage (responseCharCount)#400
smuduganti-sf wants to merge 1 commit intosalesforcecli:mainfrom
smuduganti-sf:W-20995739-add-responseCharCount

Conversation

@smuduganti-sf
Copy link
Collaborator

  • Added calculateResponseCharCount() to compute total character count from tool result text content.
  • On each tool call, the response character count is computed and sent in the TOOL_CALLED telemetry event as responseCharCount.

What does this PR do?

@W-20995739@

What issues does this PR fix or reference?

@smuduganti-sf smuduganti-sf requested a review from a team as a code owner March 4, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant