spawn
Launch a coding-agent session and start its first task asynchronously. Use it to delegate work to a subagent, with managed callers automatically creating children in their own team.
Instructions
Spawn a coding-agent session and start its first job asynchronously. Managed callers automatically create children in their own team.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| name | No | ||
| role | No | ||
| model | No | ||
| access | No | workspace-write | |
| effort | No | ||
| prompt | Yes | ||
| team_id | No | ||
| provider | Yes | ||
| workspace | No | auto | |
| parent_agent_id | No |