ToolSearchTool for authored tools, mirroring connection__search (similar to claude cowork/code) #552
charlie-maloney
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Connection tools get deferred discovery via connection__search, so hundreds of remote tools cost nothing in context. Authored tools don't... every descriptor loads up front.
For first-party agents this is awkward: authored tools are the right way to expose your own backend (direct code access, no HTTP hop), but the only way to get scalable discovery is to stand up an MCP/OpenAPI server in front of your own code and consume it over a network hop with duplicate schemas.
defineDynamic helps when the tool set depends on the caller, but not when it's just large (one tool per operation/table/admin action).
My proposal...an opt-in flag that keeps a tool out of the model's tool list and makes it discoverable through a built-in tool__search in the default harness:
Happy to prototype if there's interest.
Beta Was this translation helpful? Give feedback.
All reactions