codex_task
Execute an autonomous coding task in a new thread and return the final response.
Instructions
Run an autonomous coding task in a new Codex thread and return the final response.
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": {
"prompt": "<prompt>"
},
"name": "codex_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workingDirectory | No | ||
| model | No | ||
| sandboxMode | No | danger-full-access | |
| networkAccessEnabled | No | ||
| webSearchEnabled | No | ||
| prompt | Yes | The coding task or prompt for the Codex agent. |