team_spawn
Spawn an autonomous teammate in a team with a persistent conversation, automatic wake on messages, and idle notification when work is complete.
Instructions
Spawn a real autonomous AGY teammate (e.g. 'backend', 'frontend', 'reviewer') in a team. Runs via self-terminating detached worker with persistent conversation_id, automatically wakes on team_send, auto-bridges replies if needed, and sends idle_notification when done.
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": {
"team": "<team>",
"name": "<name>",
"role": "<role>",
"prompt": "<prompt>"
},
"name": "team_spawn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| name | Yes | Short peer handle, e.g. 'backend', 'frontend', 'reviewer'. | |
| role | Yes | Specialist role label. | |
| team | Yes | ||
| model | No | ||
| effort | No | low | |
| prompt | Yes | Initial assignment / kickoff instructions for this teammate. |