You could be thinking of the Claude tool search tool [0][1], which lets it do that on-demand loading. Skills (like another comment mentioned) have a progressive disclosure mechanism built-in. Agent Skills [2] appear to be the common format across most of the tools, but I have no idea if this actually has tool provider buy-in.

[0]: https://platform.claude.com/docs/en/agents-and-tools/tool-us...

[1]: https://www.anthropic.com/engineering/advanced-tool-use

[2]: : https://agentskills.io/home