continue_task
Start a fresh session from a previously settled task, reconstructing the original assignment and summary to resume work with preserved notes and follow-ups.
Instructions
Start a fresh session from a conclusively settled standalone task.
This differs from resume_task: it reconstructs the original assignment, latest summary and
captured outcome, with optional UTF-8 notes and caller follow-up preserved verbatim. Oversized
evidence is referenced by path. Backend, model and access settings are retained. Process exit,
complete output drainage and a durable terminal record must be observed; old or inferred
records without settlement evidence are refused. Workflow-owned tasks use workflow recovery.
Concurrent identical retries share one successor; mismatched or unsettled reservations fail.
A source that had resources re-queues the same names; while they are busy the successor is
acknowledged with launch_state: "waiting_for_resources" (the reservation is accepted, and a
retry returns the same pending successor).
The returned continuation_of_task_id is separate from session resume/delegation ancestry.
Follow-ups queued on the source with send_message are consumed by this call: they appear verbatim, in queue order, ahead of extra_prompt (or ahead of a fixed closing line when there is none), and the new task's task_started event lists their message_ids. With nothing queued the call behaves exactly as without the feature. Two manual calls with the same extra_prompt and notes are the same request whatever is queued: the queue is read once, when the successor is reserved, and a retry returns that successor. An automatic continuation never consumes.
group_report_output: omitted or null inherits the saved opt-in; false disables scoped output. allowed_commands: omitted or null inherits the source task's saved command grants (an automatic continuation always does); a list replaces them after the same validation and nested-subset check as start_task. See start_task for the grammar and limits. fetch refreshes remote-tracking refs before the fresh session, the same way as start_task. Continuations reuse a branch prepared at the original dispatch and do not accept branch or base.
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": {
"task_id": "<task_id>"
},
"name": "continue_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fetch | No | ||
| task_id | Yes | ||
| notes_path | No | ||
| extra_prompt | No | ||
| fetch_required | No | ||
| allowed_commands | No | ||
| git_https_rewrite | No | ||
| group_report_output | No | ||
| background_idle_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||