Run Devin worker
devin_runStart a delegated engineering task via the installed Devin CLI; get a job_id immediately to collect results later while the worker edits files and runs commands.
Instructions
Start a delegated engineering task through the installed Devin CLI. Returns a job_id promptly; collect its result with devin_wait. The worker may edit files and execute commands. One external job runs at a time per bridge instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute path to the existing working directory. | |
| task | Yes | Objective, required context, constraints, and acceptance criteria. | |
| model | No | Devin model identifier or alias. Omit to use DEVIN_BRIDGE_MODEL, or swe-2-medium if unset. Model aliases may change model. | |
| scope | No | File ownership or task constraints to communicate to the worker; does not enforce isolation. | |
| timeout_seconds | No | Maximum worker duration in seconds. |