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
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
id | string | Obbligatorio | Task id |
run_id | string | Obbligatorio | The run id returned by start_run |
tool_calls | number | Facoltativo | How many tool calls this run made |
tokens | number | null | Facoltativo | Tokens spent, if you track them |
summary | string | null | Facoltativo | Short note on what the run did |
outcome | string | Facoltativo | Defaults to completed Valori ammessi completedfailed |
receipts | object[] | 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[].kind | string | Obbligatorio | Valori ammessi commitcitestdocurl |
receipts[].label | string | Obbligatorio | What this is, e.g. 'unit tests' or 'deploy' |
receipts[].url | string | null | Facoltativo | Where to go and check it |
receipts[].detail | string | null | Facoltativo | 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 lettura
readOnlyHint: false - Modifica dati nel tuo account Done.
- Distruttivo
destructiveHint: false - Aggiunge o legge soltanto; nulla di ciò che esiste viene rimosso o sovrascritto.
- Idempotente
idempotentHint: false - Ogni chiamata può aggiungere qualcosa di nuovo, come un commento, un’esecuzione o un’attività.
- Mondo aperto
openWorldHint: 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: