Spawn a Devin subagent
spawnLaunch a background Devin session to run a task in parallel, returning immediately while progress is tracked via polling.
Instructions
Create a new Devin session and start it on a task in the background. Returns immediately; use poll to watch progress. Multiple subagents can run in parallel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute working directory for the session (default: bridge cwd) | |
| mode | No | Permission mode to set (e.g. 'bypass'); default: config file 'mode' or 'smart' | |
| name | Yes | Unique handle for this subagent ([A-Za-z0-9._-]) | |
| task | Yes | The task prompt for the subagent | |
| model | No | Model to confirm (e.g. 'swe-2-max'); default: config file 'model' or 'swe-2-max' |