Expand description
Task tools for delegated child runs.
The Task tool allows the main agent to delegate specialized work to focused child runs. Each child run gets bounded context and the permissions declared by its agent definition.
§Usage
{
"agent": "explore",
"description": "Find authentication code",
"prompt": "Search for files related to user authentication..."
}Structs§
- Parallel
Task Params - Parameters for parallel task execution
- Parallel
Task Tool - ParallelTaskTool allows the LLM to fan out multiple delegated tasks concurrently.
- 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§
- parallel_
task_ params_ schema - Get the JSON schema for ParallelTaskParams
- task_
params_ schema - Get the JSON schema for TaskParams