类的使用
io.agentscope.core.message.ToolResultBlock.Builder
使用ToolResultBlock.Builder的程序包
-
io.agentscope.core.message中ToolResultBlock.Builder的使用
修饰符和类型方法说明static ToolResultBlock.BuilderToolResultBlock.builder()Creates a new builder for constructing ToolResultBlock instances.Sets the tool call ID.Sets the metadata for the tool result.Sets the tool name.ToolResultBlock.Builder.output(ContentBlock output) Sets a single content block as output.ToolResultBlock.Builder.output(List<ContentBlock> output) Sets a list of content blocks as output.