工具:使工具可调用的接口仅限于内部使用
作者: wolo-lab创建于 2026年9月14日更新于 2026年9月15日
标签enhancementapi
Problem
The exported tool.Tool interface has three methods — Name, Description, and IsLongRunning (tool/tool.go#L37-L46). None of them makes a tool callable. The interfaces the run loop actually dispatches on all live in internal/toolinternal (internal/toolinternal/tool.go#L28-L62):
内容来源: google/adk-go