codex_start
Start a task in a new or existing thread and get a jobId immediately. Optionally set the model; the sandbox is read-only and permissions come from the user's launch configuration.
Instructions
在新的或已有 Codex thread 中启动任务,立即返回 jobId。可用 model 参数指定本次任务模型。配置模型:Codex 默认配置 / 已有会话模型。当前沙箱:read-only;只读,禁止修改文件。权限由用户启动配置决定,工具参数不能更改。
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>",
"cwd": "<cwd>"
},
"name": "codex_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | ||
| model | No | ||
| prompt | Yes | ||
| threadId | No |