类的使用
io.agentscope.core.tool.ToolCallParam.Builder
使用ToolCallParam.Builder的程序包
-
io.agentscope.core.tool中ToolCallParam.Builder的使用
修饰符和类型方法说明Sets the calling agent.static ToolCallParam.BuilderToolCallParam.builder()Creates a new builder for constructing ToolCallParam instances.ToolCallParam.Builder.context(ToolExecutionContext context) Sets the tool execution context.ToolCallParam.Builder.emitter(ToolEmitter emitter) Sets the ToolEmitter for streaming tool output.Sets the input parameters.ToolCallParam.Builder.toolUseBlock(ToolUseBlock toolUseBlock) Sets the tool use block.