| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Lets clients register output schemas for tools that never appear in list_tools(), so call_tool can validate structuredContent without touching private caches. Mirrored on Client; complete listings still prune unlisted registrations. Fixes modelcontextprotocol#3145
| Back | FazBrowse Home | New Git URL |
Summary
Fixes #3145
Motivation
Servers that use search/catalog-style discovery (e.g. Bedrock AgentCore Gateway) intentionally return only a small list_tools() subset. Invoking discovered tools today logs a warning and skips structuredContent validation unless callers write the private cache. This PR adds the small public API proposed in the issue.
Design notes / ask for review
Issue #3145 is unlabeled (ready for work not present). Claimed on the issue; happy to adjust API/prune semantics if maintainers prefer a different contract (e.g. surviving complete listings). Preferring a ready PR over draft for reviewability.
Test plan
AI disclosure
Implemented with AI assistance (Cursor). I reviewed and understand the full change, including validator-cache eviction and the documented list_tools() prune interaction.