← Alle MCP-Tools

End run

end_run
Schreiben

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

NameTypPflichtBeschreibung
idstringPflicht

Task id

run_idstringPflicht

The run id returned by start_run

tool_callsnumberOptional

How many tool calls this run made

tokensnumber | nullOptional

Tokens spent, if you track them

summarystring | nullOptional

Short note on what the run did

outcomestringOptional

Defaults to completed

Erlaubte Wertecompletedfailed
receiptsobject[]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[].kindstringPflicht
Erlaubte Wertecommitcitestdocurl
receipts[].labelstringPflicht

What this is, e.g. 'unit tests' or 'deploy'

receipts[].urlstring | nullOptional

Where to go and check it

receipts[].detailstring | nullOptional

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 lesenreadOnlyHint: false
Ändert Daten in deinem Done-Konto.
DestruktivdestructiveHint: false
Fügt nur hinzu oder liest; nichts Bestehendes wird entfernt oder überschrieben.
IdempotentidempotentHint: false
Jeder Aufruf kann etwas Neues hinzufügen, etwa einen Kommentar, einen Lauf oder eine Aufgabe.
Offene WeltopenWorldHint: 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:

Überblick über die MCP-Einrichtung →