bernstein_complete
Complete a task by submitting a non-empty result summary of executed work. Use this tool to finalize claimed or in-progress tasks.
Instructions
Report the result of work you are executing.
This is the completion verb of the MCP worker loop (claim with
bernstein_claim, report with bernstein_update, finish here).
The tool reads the task first and completes it only from a state a
worker holds it in (open, claimed, in_progress).
It is not a way to clear a task out of the way. A parent in
waiting_for_subtasks is completed by its subtasks finishing, an
orphaned task belongs to crash recovery, and a result already
awaiting a decision is signed off with bernstein_approve; all
three are refused with a structured error naming the current status.
Report only work that actually ran, and use bernstein_update
when the task is unfinished or stuck.
Args: task_id: ID of the task to complete. result_summary: What the work produced. The task server rejects an empty summary and fails the task instead.
Returns: JSON with the task id, its new status, and the recorded summary - or a structured refusal naming the current status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| result_summary | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |