delegate
Assign a coding task to Claude Code or Codex and retrieve the final output. Use this to pass work between agents.
Instructions
Delegate a task to another coding agent (Claude Code or Codex) and return its final output. Use this to hand work to the other agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the target agent | |
| task | Yes | The task prompt for the target agent | |
| target | Yes | Which agent to delegate to | |
| timeoutMs | No | Max wait for the target agent in milliseconds (default 120000) |