create_agent
Create a Claude Code agent in a managed session for collaborative development work, configuring its specialization and system prompts.
Instructions
Create a new Claude Code agent within a managed session.
Creates a new agent instance with the specified configuration and assigns it to the given session for collaborative development work.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"agent_name": "<agent_name>"
},
"name": "create_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| agent_name | Yes | ||
| specialization | No | ||
| system_prompt_suffix | No |