Expand description
Task tools for delegated child runs.
The Task tool allows the main agent to delegate one or more specialized tasks to focused child runs. Each child run gets bounded context and the permissions declared by its agent definition.
§Usage
{"tasks": [{
"agent": "explore",
"description": "Find authentication code",
"prompt": "Search for files related to user authentication..."
}]}Structs§
- Task
Executor - Task executor for delegated child runs.
- Task
Params - Task tool parameters
- Task
Result - Task tool result
- Task
Tool - TaskTool wraps TaskExecutor as a Tool for registration in ToolExecutor. This allows the LLM to delegate tasks through the standard tool interface.
Functions§
- task_
params_ schema - Get the compatibility JSON schema accepted by the
taskexecutor.