delimit_agent_handoff
Transfer an agent task to a different AI model when execution is blocked or cross-model review is needed. Writes a handoff record and updates the task assignee.
Instructions
Hand off an agent task to a different AI model.
When to use: when an executor is blocked or when cross-model review is required and the next model needs the task's context. When NOT to use: to close out the task (delimit_agent_complete) or create a new one (delimit_agent_dispatch).
Sibling contrast: delimit_agent_complete ends the task; this transfers it to another model.
Side effects: writes a handoff record via ai.agent_dispatch.handoff_task; updates assignee on the task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Existing task id from delimit_agent_dispatch. Required. | |
| to_model | Yes | Target model — "claude", "codex", "gemini", etc. Required. | |
| context | No | Notes for the next model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||