dismiss_inbox_item
The CodePanel MCP tool that takes an ended agent app run's item out of the owner's inbox, or puts it back.
On this page›
dismiss_inbox_item takes an ended run's item out of your inbox, or puts it back. The run and its task are left as they are. It needs the tasks:write scope.
When to call it
- When a
budget_stop,plan_stoporowner_enditem needs nothing more, such as a task you replaced with a new one. - To undo a dismissal:
undo: trueputs the item back as the run's end left it.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
runId |
string | yes | From a get_inbox item's targets |
undo |
boolean | no | Put the item back instead |
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, from the item's targets, and optional undo.
What it returns
{ before, after }, each { runId, attention }: why the run is in the inbox (budget_cap, plan_required, needs_owner, stuck, runner_lost, gateway_unreachable), or null when it is not. Dismissing an item already gone changes nothing; undo on a run that never needed you is refused.
The same step without MCP
| Surface | Form |
|---|---|
| HTTP API | POST /inbox/dismiss with the tasks:write scope |
| CLI | codepanel inbox dismiss <runId> [--undo] |
What the server tells your agent
The description your agent reads when it lists the tools:
Use it to take an ended run's get_inbox item (budget_stop, plan_stop or owner_end) out of the inbox once you have dealt with it another way; undo: true puts it back as the run's end left it. The run and its task are untouched; to run the task again, use retry_task instead. Dismissing an item already gone changes nothing; undo on a run that never needed the owner is refused. Needs tasks:write. Returns { before, after }, each { runId, attention }.
Related
retry_task: run the task again instead.get_inbox: what waits on you.- MCP server: install, sign-in and every other tool.