AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.core.tool.mcp

io.agentscope.core.tool.mcp

package io.agentscope.core.tool.mcp

io.agentscope.core.tool.mcp 属于工具与技能,工具注册、schema 与执行。 该包共收录 7 个公开类型。

io.agentscope.core.tool.mcp belongs to the Tools & skills layer and contains 7 public types.

所属构件Artifacts agentscope-core

类Classes

类型Type种类Kind说明Description
McpAsyncClientWrapper类class
MCP 异步客户端包装器,让智能体以受控方式调用外部能力。
Wrapper for asynchronous MCP clients using Project Reactor.
McpClientBuilder类class
MCP 客户端构建器
Builder for creating MCP client wrappers with fluent configuration.
McpClientWrapper类class
用于MCP(模型上下文协议)客户端的抽象包装器。
Abstract wrapper for MCP (Model Context Protocol) clients.
McpContentConverter类class
MCP 内容转换器,让智能体以受控方式调用外部能力。
Utility class for converting between MCP content types and AgentScope content blocks.
McpSyncClientWrapper类class
MCP 同步客户端包装器,让智能体以受控方式调用外部能力。
Wrapper for synchronous MCP clients that converts blocking calls to reactive Mono types.
McpTool类class
MCP 工具,封装可被智能体调用的能力。
`ToolBase` subclass that wraps an MCP (Model Context Protocol) tool.

记录Records

类型Type种类Kind说明Description
McpMeta记录record
承载 MCP 元数据数据的记录类型。
Type-namespace marker for MCP (Model Context Protocol) request metadata.
基于官方固定版本源码静态生成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.