AS AgentScopeAPI 手册 / API Reference

WebTools

public final class WebTools
源码Source io/agentscope/harness/agent/tool/WebTools.java:35–193

Web 工具,封装可被智能体调用的能力。位于 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 WebFetchTool

Web 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 WebSearchTool

Web 搜索工具,封装可被智能体调用的能力。位于 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.

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.