java.lang.Object
com.alibaba.cloud.ai.graph.agent.extension.tools.model.TaskTool
All Implemented Interfaces:
BiFunction<TaskTool.TaskRequest,org.springframework.ai.chat.model.ToolContext,String>

public class TaskTool extends Object implements BiFunction<TaskTool.TaskRequest,org.springframework.ai.chat.model.ToolContext,String>
Tool that enables invoking subagents to handle complex, isolated tasks. This tool allows the main agent to delegate work to specialized subagents, each with their own context and capabilities.