You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: 支持 Anthropic server tools / Web Search #2236
1、claude server tools的每个tool都有很多版本,不同版本可能提供不同的能力,如web search tool就有web_search_20260318、web_search_20260209、web_search_20250305三个版本,那么是否应该允许开发者显式选择服务端工具的版本
Activity
Leeaoyin commentedon Jul 16, 2026
1、claude server tools的每个tool都有很多版本,不同版本可能提供不同的能力,如web search tool就有web_search_20260318、web_search_20260209、web_search_20250305三个版本,那么是否应该允许开发者显式选择服务端工具的版本
2、目前的 anthropic-java 锁在 2.14.0(agentscope-dependencies-bom),这个版本已有 WebSearchTool20250305 / ServerToolUseBlock / WebSearchToolResultBlock,web search 可以直接用,如果要支持更新版本的server tools可能要升级 anthropic-java,还要引入一个更通用、支持工具版本选择的服务端工具抽象
jujn commentedon Jul 16, 2026
建议引入 Anthropic 专属的版本化 AnthropicServerTool 抽象,允许开发者显式指定 type(如 web_search_20250305)。可以先基于当前 anthropic-java 2.14.0 支持及其结果解析。
Leeaoyin commentedon Jul 16, 2026
或许我可以尝试下🙂