complete_worker
Submit a terminal status for your finished worker so the reaper does not mark it failed after silence. It works only on your own node and never overwrites an existing status.
Instructions
Close the calling agent's own WORKER node with a terminal status. Call this when your delegated work is finished — otherwise the reaper stamps the worker 'failed' once it has been silent for the stale window. Identity-bound: you may only complete a worker you own. Never overwrites an existing terminal status, and refuses a live spawn-managed worker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Recorded in the WORKER_COMPLETED event. | |
| status | No | The outcome you are claiming about your own run. | completed |
| worker_id | No | Defaults to the caller's bound worker. | |
| binding_token | No | Opaque token returned by this agent's join_session or plan_session. Required for reliable identity when logical agents share an MCP connection. |