37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
{
|
|
"description": "Spawn an independent subagent session with a prompt. Returns immediately.",
|
|
"prompt": "## subagent_spawn\n\nSpawn an independent subagent session with a prompt. Returns immediately.\n\n```\nsubagent_spawn(prompt=\"implement the login page\", name=\"worker\")\nsubagent_spawn(prompt=\"fix the tests in auth/\")\n```\n\n**Returns**: session ID, backend, model.",
|
|
"args": {
|
|
"type": "object",
|
|
"required": [
|
|
"prompt"
|
|
],
|
|
"properties": {
|
|
"prompt": {
|
|
"type": "string",
|
|
"description": "Task prompt for the subagent"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Subagent name (optional)"
|
|
},
|
|
"agent": {
|
|
"type": "string",
|
|
"description": "Agent config (optional)"
|
|
},
|
|
"backend": {
|
|
"type": "string",
|
|
"description": "Backend (optional)"
|
|
},
|
|
"model": {
|
|
"type": "string",
|
|
"description": "Model (optional)"
|
|
},
|
|
"cwd": {
|
|
"type": "string",
|
|
"description": "Working directory (optional)"
|
|
}
|
|
}
|
|
}
|
|
}
|