WebTools
public final class WebTools
源码Source
io/agentscope/harness/agent/tool/WebTools.java:35–193Web 工具,封装可被智能体调用的能力。位于 io.agentscope.harness.agent.tool 包。
Builtin web tools (web_fetch, web_search) for Managed Agents / Harness.
web_search uses the Tavily API when TAVILY_API_KEY (or vault-injected env) is
present; otherwise returns a clear configuration error.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
WebFetchTool | 类class | Web Fetch 工具,封装可被智能体调用的能力。 A class in io.agentscope.harness.agent.tool that lets agents invoke external capabilities under control. |
WebSearchTool | 类class | Web 搜索工具,封装可被智能体调用的能力。 A class in io.agentscope.harness.agent.tool that lets agents invoke external capabilities under control. |
嵌套类详情Nested Class Detail
WebFetchTool
public static final class WebFetchToolWeb Fetch 工具,封装可被智能体调用的能力。位于 io.agentscope.harness.agent.tool 包。核心成员包括 webFetch、WebFetchTool。
A class in io.agentscope.harness.agent.tool that lets agents invoke external capabilities under control. Declared in io.agentscope.harness.agent.tool.
WebSearchTool
public static final class WebSearchToolWeb 搜索工具,封装可被智能体调用的能力。位于 io.agentscope.harness.agent.tool 包。核心成员包括 webSearch、WebSearchTool。
A class in io.agentscope.harness.agent.tool that lets agents invoke external capabilities under control. Declared in io.agentscope.harness.agent.tool.