Was es tut
Close a run you opened with start_run, reporting what it spent and the evidence for what it claims. If tool_calls or the elapsed minutes exceed the task's budget, the run is recorded as over_budget (you can still finish — the overage is just on the record). Pass receipts so a human approving this work can check it instead of taking the summary's word for it: a commit SHA, a CI run URL, a test tally, a published doc. Posts a trace line to the task's activity.
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
id | string | Pflicht | Task id |
run_id | string | Pflicht | The run id returned by start_run |
tool_calls | number | Optional | How many tool calls this run made |
tokens | number | null | Optional | Tokens spent, if you track them |
summary | string | null | Optional | Short note on what the run did |
outcome | string | Optional | Defaults to completed Erlaubte Werte completedfailed |
receipts | object[] | Optional | Evidence for what this run claims — what a reviewer would check instead of trusting the summary. Each needs a url or a detail (or both); a receipt with neither is just an assertion. |
receipts[].kind | string | Pflicht | Erlaubte Werte commitcitestdocurl |
receipts[].label | string | Pflicht | What this is, e.g. 'unit tests' or 'deploy' |
receipts[].url | string | null | Optional | Where to go and check it |
receipts[].detail | string | null | Optional | The checkable value itself — a SHA, '142 passed' |
Annotationen
Die Hinweise, die der Server mit diesem Tool mitschickt. Ein Client liest sie, um zu entscheiden, ob er dich vor einem Aufruf fragt.
- Nur lesen
readOnlyHint: false - Ändert Daten in deinem Done-Konto.
- Destruktiv
destructiveHint: false - Fügt nur hinzu oder liest; nichts Bestehendes wird entfernt oder überschrieben.
- Idempotent
idempotentHint: false - Jeder Aufruf kann etwas Neues hinzufügen, etwa einen Kommentar, einen Lauf oder eine Aufgabe.
- Offene Welt
openWorldHint: false - Berührt nur dein eigenes Done-Konto.
Welche Tokens es aufrufen dürfen
Eine per OAuth hergestellte Verbindung hat vollen Zugriff. Ein Token aus Einstellungen → Agentenzugriff → Weitere MCP-Tokens lässt sich einschränken, und ein eingeschränktes Token sieht nie über sein Projekt oder seinen Workspace hinaus.
- Voller ZugriffErlaubt
- Token nur zum LesenAbgelehnt
- Token für ein ProjektAbgelehnt
- Token für einen WorkspaceErlaubt
Probier es aus
Sobald Done verbunden ist, sag deinem Assistenten zum Beispiel:
“Wenn du fertig bist, schließ den Lauf mit dem Commit und den Testergebnissen als Belegen ab.”
Verbinde Done mit deinem Assistenten
Ein MCP-Endpunkt pro Konto, per OAuth oder Token. Die Einrichtung Schritt für Schritt für jeden Client: