spawn_agent
Launch specialized autonomous agents for development tasks. Each agent is configured with role-specific instructions, full tool access, and dependency management, operating within a given repository.
Instructions
Spawn fully autonomous Claude agent with complete tool access
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentType | Yes | Type of specialized agent to spawn (e.g., "backend", "frontend", "testing", "documentation", "devops", "researcher"). This determines the agent's role-specific instructions and capabilities. | |
| repositoryPath | Yes | Absolute path to the repository where the agent will operate. This is the working directory for all agent operations. | |
| taskDescription | Yes | Detailed description of the specific task or responsibility this agent should handle. Should be clear, actionable, and include any important context or requirements. | |
| capabilities | No | Array of capabilities or tools the agent should have access to. Defaults to "ALL_TOOLS" which grants full access to all available tools including file operations, code analysis, web browsing, and coordination tools. | |
| dependsOn | No | Array of agent IDs that this agent depends on. The agent will only be spawned after all dependencies are satisfied (agents exist and are active/completed). | |
| metadata | No | Optional metadata object for storing additional agent configuration, context, or coordination information. | |
| autoCreateRoom | No | Whether to automatically create a coordination room for this agent. If not specified, uses the default behavior for the agent type (most agent types auto-create rooms by default). | |
| roomId | No | Optional existing room ID to assign the agent to. If provided, the agent will join this room instead of creating a new one. |