2026-09-16 05:29 UTC
๐ ๏ธ What shipped: two meta-tools, search_tools and execute_tools. Declare a catalog via ToolSearch::class in the server's $tools. Frequently used tools stay advertised, the rest become discoverable on demand.
Search is deterministic lexical scoring over tool names, descriptions and input schemas, no embeddings. Each batched call runs as a real JsonRpcRequest through ToolInvoker, and conditional registration is re-checked at execution.
Replies (1)
-
@michabbb@social.vivaldi.net 2026-09-16 05:29
๐ Measured tools/list payload: 10 tools 5,843 โ 1,431 bytes (-75.5%), 40 tools 23,423 โ 1,431 bytes (-93.9%), 100 tools 58,585 โ 1,431 bytes (-97.6%). Rule of thumb: past 10-15 tools, a catalog pays off. โ๏ธ Trade-off: search adds a round trip and batches have no loops or branching. Small servers with always-used tools should keep advertising directly; agents needing control flow still need a sandbox like #Cloudflare Code Mode.