reply_run
Continue an ended Cursor Agent session while preserving its agent ID; pass only task scope and target locations so Cursor reads the workspace itself.
Instructions
在已结束的 Cursor Agent 会话中续接运行并保留 agentId;只传目标位置与任务范围,禁止源码正文,由 Cursor 自行读取。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | 任务或审查范围与验收要求;禁止传源码正文、代码块或补丁,由 Cursor 在获授权工作区自行读取。 | |
| model | No | ||
| timeoutMs | No | Cursor 任务总预算(毫秒);普通任务省略即可使用 24 小时默认值,硬上限同为 24 小时。 | |
| permission | No | ||
| parentRunId | Yes | ||
| idempotencyKey | Yes | ||
| targetLocations | No | 工作区内的文件、目录或行号位置列表,仅传位置不传内容;省略表示由 Cursor 按任务范围在工作区内定位。 | |
| codexAllowedTools | No | 本次续接由 Codex 主进程决定的额外工具放行;省略时继承父运行,传空数组可撤销。 | |
| workspaceApprovalToken | No | ||
| confirmedDangerousPermission | No |