cs_agent_create
Create a managed child agent for self-contained subtasks needing parallel work, a different runtime, specialization, or independent review.
Instructions
Create a managed child agent for a self-contained subtask that benefits from parallel work, a different agent runtime, specialization, or independent review. Call cs_agent_capabilities before choosing an agent; do not delegate trivial or tightly coupled work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute workspace directory for the child; required when roots are ambiguous. | |
| mode | No | persistent keeps a resumable session for follow-up tasks; oneshot creates a disposable task session. | |
| name | No | Human-readable role name, such as implementer, reviewer, or researcher. | |
| agent | Yes | Configured local agent name returned by cs_agent_capabilities. | |
| sessionOptions | No | Optional model, prompt, tool, and turn limits for this delegated session. |