create_handoff_for_agent
Generate a LangGraph-compatible handoff payload to transfer a task between agents, including required context and optional token budget and failure history.
Instructions
Create a LangGraph-compatible handoff payload for agent-to-agent transfer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task ID being handed off | |
| to_agent | Yes | Actor ID of target agent | |
| from_agent | Yes | Actor ID of source agent | |
| budget_tokens | No | Token budget for context (default: 500) | |
| include_retex | No | Include relevant RETEX (default: true) | |
| include_failures | No | Include recent failures (default: true) |