CodePanel
resume_run

resume_run

The CodePanel MCP tool that lets a paused agent app run go on from the history it holds.

On this page›

resume_run lifts a pause set by pause_run. Each agent in the run goes on from the history it holds, on the same worktree, and the subagents a swarm was waiting to start begin. It needs the tasks:write scope.

When to call it

  • Once you have looked, or changed what the run needed, and want it to carry on where it stopped.

Inputs

Input Type Required Description
runId string yes Id of a run, from get_task's runs or start_task's task

It writes: the server marks it readOnlyHint: false and destructiveHint: true (it can change what is already there), so a client that asks before writes asks here.

runId. A run that is not paused changes nothing. An ended run is refused with reason: run_ended.

What it returns

{ before, after }, each the run. after.pauseRequestedAt is null at once; the status reads paused until the runner reports the run working again, which a runner on the same machine does at once.

The same step without MCP

Surface Form
HTTP API POST /tasks/runs/resume with the tasks:write scope
CLI codepanel run resume <runId>

What the server tells your agent

The description your agent reads when it lists the tools:

Use it to let a paused run go on: its agents continue from the history they hold, on the same worktree. pauseRequestedAt clears at once; status reads paused until the runner reports it working again (at once on this machine's runner). A run not paused changes nothing; an ended run is refused (run_ended). Needs tasks:write. Returns { before, after }.

Last updated