SubagentTools
Category: Tools
Source: subagent_tools.dart
Classes
SpawnSubagentTool
Tool that spawns a single subagent to perform a focused task.
Constructor
dart
SpawnSubagentTool(this._manager, {this._depth = 0, this._parentSubagentId})Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
parameters | List<ToolParameter> get | |
name | String get | |
description | String get | |
parameters | List<ToolParameter> get |
Methods
Future<ToolResult> execute(Map<String, dynamic> args)
SpawnParallelSubagentsTool
Tool that spawns multiple subagents in parallel.
Constructor
dart
SpawnParallelSubagentsTool(
this._manager, {
this._depth = 0,
this._parentSubagentId,
})Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
parameters | List<ToolParameter> get | |
name | String get | |
description | String get | |
parameters | List<ToolParameter> get |