spawn_agent
Creates a new interactive subagent with a defined role and system prompt so orchestrators can delegate specialized tasks and control allowed tools or provider.
Instructions
Spawn a new interactive agent with a specific role and system prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for the agent | |
| role | Yes | Role description (e.g. "Senior Engineer", "Researcher") | |
| provider | No | Which inference provider to use (from config) | |
| allowed_tools | No | Tool names the agent can use (default: all) | |
| system_prompt | Yes | System prompt defining the agent behavior |