delegate
Run isolated sub-agents with dedicated personas and profiles to execute tasks with full auditability and CI-friendly validation.
Instructions
Run a named sub-agent as a clean Codex exec with its own persona/profile.
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": {
"agent": "<agent>",
"task": "<task>"
},
"name": "delegate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| task | Yes | ||
| agent | Yes | ||
| persona | No | ||
| profile | No | ||
| mirror_repo | No | ||
| sandbox_mode | No | ||
| approval_policy | No |