← Tutti gli strumenti MCP

End run

end_run
Scrittura

Cosa fa

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.

Parametri

NomeTipoObbligatorioDescrizione
idstringObbligatorio

Task id

run_idstringObbligatorio

The run id returned by start_run

tool_callsnumberFacoltativo

How many tool calls this run made

tokensnumber | nullFacoltativo

Tokens spent, if you track them

summarystring | nullFacoltativo

Short note on what the run did

outcomestringFacoltativo

Defaults to completed

Valori ammessicompletedfailed
receiptsobject[]Facoltativo

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[].kindstringObbligatorio
Valori ammessicommitcitestdocurl
receipts[].labelstringObbligatorio

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

receipts[].urlstring | nullFacoltativo

Where to go and check it

receipts[].detailstring | nullFacoltativo

The checkable value itself — a SHA, '142 passed'

Annotazioni

Le indicazioni che il server invia con questo strumento. Un client le legge per decidere se chiederti il permesso prima di una chiamata.

Sola letturareadOnlyHint: false
Modifica dati nel tuo account Done.
DistruttivodestructiveHint: false
Aggiunge o legge soltanto; nulla di ciò che esiste viene rimosso o sovrascritto.
IdempotenteidempotentHint: false
Ogni chiamata può aggiungere qualcosa di nuovo, come un commento, un’esecuzione o un’attività.
Mondo apertoopenWorldHint: false
Tocca solo il tuo account Done.

Quali token possono chiamarlo

Una connessione fatta con OAuth ha accesso completo. Un token creato in Impostazioni → Accesso degli agenti → Token MCP aggiuntivi si può restringere, e un token ristretto non vede mai oltre il suo progetto o spazio di lavoro.

  • Accesso completoConsentito
  • Token di sola letturaRifiutato
  • Token per un progettoRifiutato
  • Token per uno spazio di lavoroConsentito

Provalo

Con Done collegato, chiedi al tuo assistente qualcosa come:

“Quando hai finito, chiudi l’esecuzione con il commit e i risultati dei test come prove.”

Collega Done al tuo assistente

Un endpoint MCP per account, con OAuth o con un token. La configurazione passo passo per ogni client:

Panoramica della configurazione MCP →