( config: SpawnTeammateConfig, context: ToolUseContext, )
| 1086 | * This is the main entry point for teammate spawning, used by both TeammateTool and AgentTool. |
| 1087 | */ |
| 1088 | export async function spawnTeammate( |
| 1089 | config: SpawnTeammateConfig, |
| 1090 | context: ToolUseContext, |
| 1091 | ): Promise<{ data: SpawnOutput }> { |
| 1092 | return handleSpawn(config, context) |
| 1093 | } |
| 1094 |