Repository navigation
chore: Deprecate mcp.tool.result.content_count - #669
Merged
alexander-alderman-webb merged 2 commits intoOct 7, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨
Bug Fixes 🐛
Internal Changes 🔧Deps
Other
🤖 This preview updates automatically when you update the PR. |
alexander-alderman-webb
force-pushed
the
webb/deprecate-mcp.tool.result.content_count
branch
from
October 5, 2026 11:30
255bebd to
f5b6b65
Compare
alexander-alderman-webb
force-pushed
the
webb/deprecate-mcp.tool.result.content_count
branch
from
October 5, 2026 11:30
f5b6b65 to
688f531
Compare
alexander-alderman-webb
marked this pull request as ready for review
October 5, 2026 11:30
alexander-alderman-webb
requested review from
a team,
Lms24,
cleptric,
mjq and
nsdeschenes
as code owners
October 5, 2026 11:31
Lms24
approved these changes
Oct 5, 2026
Lms24
left a comment
Member
There was a problem hiding this comment.
LGTM from conventions side. To double-check, the product doesn't rely on this attribute? (Doesn't block the deprecation, but should be checked at SDK removal time)
alexander-alderman-webb
deleted the
webb/deprecate-mcp.tool.result.content_count
branch
October 7, 2026 07:19
This was referenced Oct 9, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
mcp.tool.result.content_countattribute is set by the Python SDK and I'd like to remove it in the next major.The
gen_ai.tool.call.resultattribute can have any JSON type, and therefore doesn't intrinsically have a length.In the Python SDK we have some type coersion and conditionally set the attribute.
PR Checklist
yarn testand verified that the tests pass.yarn generateto generate and format code and docs.If an attribute was added:
nextjs.function_id, notfunction_id)apply_scrubbing(i.e.manualorauto. Useneveronly for values that should never be scrubbed such as IDs)If an attribute was deprecated: