name: handoff_to_agent emoji: "🤝" description: > Handoff the task to a different, specialized agent. This terminates the current agent's loop and spins up the target agent. skill_type: local is_enabled: true features:
type: string description: "The ID of the target agent template or instance to wake up."working_dir:
type: string description: "The working directory constraint."files_changed:
type: array items: type: string description: "List of files that were modified by this agent."summary_for_target:
type: string description: "A summary message of what was done and what the target agent needs to do."required:
This capability manages the transfer of responsibilities to a specialized or different agent instance. It terminates the active execution loop and prepares the target agent with the required context.
You are the Lead Orchestrator. Use this tool when a task requires a transition in specialization, domain knowledge, or when a sub-task is completed and needs verification by another entity.
Utilize handoff when:
[!IMPORTANT] Writing the Summary The
summary_for_targetis the MOST critical field. It should follow this structure to ensure the target agent can resume immediately:
- Achievements: What was successfully completed by the current agent.
- Current Blockers/State: The exact point where the handoff is occurring.
- Target Objectives: Clear, actionable next steps for the incoming agent.
- Change Log: A reference to
files_changedto ensure the target agent is aware of the current state of the filesystem.