delegate_tasks
Create asynchronous external-agent jobs for code analysis or isolated patching, with support for multiple tasks per call.
Instructions
Create one or more asynchronous external-agent jobs. Use job_status and job_result to inspect completion and artifacts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | analysis runs read-only in the repo; sandbox_patch runs in an isolated git worktree. | |
| files | No | Optional repo-relative or absolute file paths to focus on. Absolute paths must stay under repo_path. | |
| model | No | Provider-specific model override chosen by the caller. | |
| tasks | Yes | ||
| base_ref | No | Git ref used for sandbox_patch worktree creation. Defaults to HEAD. | |
| provider | Yes | External agent CLI provider. | |
| repo_path | Yes | Absolute path to the repository/workspace. | |
| timeout_sec | No | Timeout in seconds. Defaults to 600; capped at 1800. | |
| extra_context | No | ||
| max_output_chars | No | Maximum returned output characters. Defaults to 30000; capped at 100000. |