agents_spawn
Start a local CLI agent in the background and get a task ID for immediate tracking. Default to read-only; use independent Git worktrees for parallel writes.
Instructions
Start a local CLI agent asynchronously and return a task id immediately. Use read-only unless edits are required. Parallel write tasks must use independent Git worktrees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| prompt | Yes | ||
| provider | Yes | ||
| work_dir | Yes | ||
| permission | No | read-only | |
| timeout_seconds | No | ||
| isolated_worktree | No | Set true only when work_dir is an independent Git worktree. |