create_subagent.
Model
Choose the model that powers your sub-agent. Pass the model ID via themodel parameter.
| Provider | Model | Model ID |
|---|---|---|
| Gemini 3.1 Pro Preview | gemini-3.1-pro-preview | |
| Gemini 3 Flash Preview | gemini-3-flash-preview | |
| Gemini 3.1 Flash Lite | gemini-3.1-flash-lite | |
| Anthropic | Claude Opus 4.7 | claude-opus-4-7 |
| Anthropic | Claude Sonnet 4.6 | claude-sonnet-4-6 |
| Anthropic | Claude Haiku 4.5 | claude-haiku-4-5-20251001 |
| OpenAI | GPT-5.5 | gpt-5.5 |
| OpenAI | GPT-5.4 Mini | gpt-5.4-mini |
System prompt
Set a system prompt to shape how your sub-agent behaves — its role, tone, constraints, or output format. Pass it via thesystem_prompt parameter.