codex_resume
Continue an existing long-running sub-agent conversation on the same topic to reuse prompt cache; optionally pass images, tier, reasoning effort, and session ID.
Instructions
让 GPT 子 Agent 在已有长对话线程中继续推进同一主题以命中 Prompt Cache(支持传图 images 和 tier/reasoning_effort)。严禁跨账号传旧 session_id。
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": {
"account": "<account>",
"prompt": "<prompt>"
},
"name": "codex_resume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | 可选:模型分级路由。 | |
| model | No | 可选:显式指定模型名。 | |
| topic | No | 可选:更新该会话的主题摘要。 | |
| images | No | 可选:补充的本地图片绝对路径数组。 | |
| prompt | Yes | 必填:追问或下一阶段子任务指令。 | |
| account | Yes | 必填:原会话所属的 Plus 账号 ID 或自定义备注名。 | |
| session_id | No | 可选:主 Agent 从上下文或 recentSessions 匹配到的 sessionId(不填自动续聊该账号最近会话)。 | |
| working_dir | No | 可选:工作目录绝对路径。 | |
| timeout_seconds | No | 可选:超时秒数(默认 300)。 | |
| reasoning_effort | No | 可选:推理深度(常规 high,关键证明/高风险 xhigh)。 |