AS AgentScopeAPI 手册 / API Reference

BlockContent

public static class BlockContent
源码Source io/agentscope/core/a2a/agent/message/MessageConstants.java:24–41

块内容,支持智能体之间的发现、委派与协作。位于 io.agentscope.core.a2a.agent.message 包。核心成员包括 TYPE_TEXT、TYPE_THINKING、TYPE_HINT、TYPE_IMAGE、TYPE_AUDIO、TYPE_VIDEO。

A class in io.agentscope.core.a2a.agent.message that supports discovery, delegation and collaboration between agents. Declared in io.agentscope.core.a2a.agent.message.

字段摘要Field Summary

字段Field类型Type说明Description
TYPE_TEXT
staticfinal
String
类型文本字段。
The TYPE TEXT field.
TYPE_THINKING
staticfinal
String
类型 THINKING字段。
The TYPE THINKING field.
TYPE_HINT
staticfinal
String
类型 HINT字段。
The TYPE HINT field.
TYPE_IMAGE
staticfinal
String
类型图像字段。
The TYPE IMAGE field.
TYPE_AUDIO
staticfinal
String
类型音频字段。
The TYPE AUDIO field.
TYPE_VIDEO
staticfinal
String
类型视频字段。
The TYPE VIDEO field.
TYPE_TOOL_USE
staticfinal
String
类型工具使用字段。
The TYPE TOOL USE field.
TYPE_TOOL_RESULT
staticfinal
String
类型工具结果字段。
The TYPE TOOL RESULT field.

字段详情Field Detail

TYPE_TEXT

public static final String TYPE_TEXT
staticfinal

类型文本字段。声明为 public static final String TYPE_TEXT。

The TYPE TEXT field.

源码Source io/agentscope/core/a2a/agent/message/MessageConstants.java:26

TYPE_THINKING

public static final String TYPE_THINKING
staticfinal

类型 THINKING字段。声明为 public static final String TYPE_THINKING。

The TYPE THINKING field.

源码Source io/agentscope/core/a2a/agent/message/MessageConstants.java:28

TYPE_HINT

public static final String TYPE_HINT
staticfinal

类型 HINT字段。声明为 public static final String TYPE_HINT。

The TYPE HINT field.

源码Source io/agentscope/core/a2a/agent/message/MessageConstants.java:30

TYPE_IMAGE

public static final String TYPE_IMAGE
staticfinal

类型图像字段。声明为 public static final String TYPE_IMAGE。

The TYPE IMAGE field.

源码Source io/agentscope/core/a2a/agent/message/MessageConstants.java:32

TYPE_AUDIO

public static final String TYPE_AUDIO
staticfinal

类型音频字段。声明为 public static final String TYPE_AUDIO。

The TYPE AUDIO field.

源码Source io/agentscope/core/a2a/agent/message/MessageConstants.java:34

TYPE_VIDEO

public static final String TYPE_VIDEO
staticfinal

类型视频字段。声明为 public static final String TYPE_VIDEO。

The TYPE VIDEO field.

源码Source io/agentscope/core/a2a/agent/message/MessageConstants.java:36

TYPE_TOOL_USE

public static final String TYPE_TOOL_USE
staticfinal

类型工具使用字段。声明为 public static final String TYPE_TOOL_USE。

The TYPE TOOL USE field.

源码Source io/agentscope/core/a2a/agent/message/MessageConstants.java:38

TYPE_TOOL_RESULT

public static final String TYPE_TOOL_RESULT
staticfinal

类型工具结果字段。声明为 public static final String TYPE_TOOL_RESULT。

The TYPE TOOL RESULT field.

源码Source io/agentscope/core/a2a/agent/message/MessageConstants.java:40
基于官方固定版本源码静态生成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.