类的使用
io.agentscope.core.tool.ToolExecutionContext
使用ToolExecutionContext的程序包
-
io.agentscope.core中ToolExecutionContext的使用
参数类型为ToolExecutionContext的io.agentscope.core中的方法修饰符和类型方法说明ReActAgent.Builder.toolExecutionContext(ToolExecutionContext toolExecutionContext) Sets the tool execution context for this agent. -
io.agentscope.core.tool中ToolExecutionContext的使用
修饰符和类型方法说明ToolExecutionContext.Builder.build()Builds the ToolExecutionContext.static ToolExecutionContextToolExecutionContext.empty()Creates an empty context.ToolCallParam.getContext()Gets the tool execution context.ToolkitConfig.getDefaultContext()Get the default tool execution context.static ToolExecutionContextToolExecutionContext.merge(ToolExecutionContext... contexts) Merges multiple contexts into priority-based resolution chain.修饰符和类型方法说明reactor.core.publisher.Mono<List<ToolResultBlock>> Toolkit.callTools(List<ToolUseBlock> toolCalls, ExecutionConfig agentExecutionConfig, Agent agent, ToolExecutionContext agentContext) Execute multiple tools asynchronously with agent-level context (internal use by ReActAgent).ToolCallParam.Builder.context(ToolExecutionContext context) Sets the tool execution context.ToolkitConfig.Builder.defaultContext(ToolExecutionContext defaultContext) Set the default tool execution context for all tools.static ToolExecutionContextToolExecutionContext.merge(ToolExecutionContext... contexts) Merges multiple contexts into priority-based resolution chain.