Ce qu’il fait
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.
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
id | string | Obligatoire | Task id |
run_id | string | Obligatoire | The run id returned by start_run |
tool_calls | number | Facultatif | How many tool calls this run made |
tokens | number | null | Facultatif | Tokens spent, if you track them |
summary | string | null | Facultatif | Short note on what the run did |
outcome | string | Facultatif | Defaults to completed Valeurs autorisées completedfailed |
receipts | object[] | Facultatif | 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 | Obligatoire | Valeurs autorisées commitcitestdocurl |
receipts[].label | string | Obligatoire | What this is, e.g. 'unit tests' or 'deploy' |
receipts[].url | string | null | Facultatif | Where to go and check it |
receipts[].detail | string | null | Facultatif | The checkable value itself — a SHA, '142 passed' |
Annotations
Les indications que le serveur envoie avec cet outil. Un client les lit pour décider s’il doit vous demander avant un appel.
- Lecture seule
readOnlyHint: false - Modifie des données de votre compte Done.
- Destructif
destructiveHint: false - Ajoute ou lit seulement ; rien de ce qui existe n’est supprimé ni écrasé.
- Idempotent
idempotentHint: false - Chaque appel peut ajouter quelque chose de nouveau : un commentaire, une exécution, une tâche.
- Monde ouvert
openWorldHint: false - Ne touche que votre propre compte Done.
Quels jetons peuvent l’appeler
Une connexion établie avec OAuth a un accès complet. Un jeton créé dans Réglages → Accès des agents → Jetons MCP supplémentaires peut être restreint, et un jeton restreint ne voit jamais au-delà de son projet ou de son espace de travail.
- Accès completAutorisé
- Jeton en lecture seuleRefusé
- Jeton limité à un projetRefusé
- Jeton limité à un espace de travailAutorisé
Essayez
Une fois Done connecté, demandez à votre assistant quelque chose comme :
“Quand vous avez fini, clôturez l’exécution avec le commit et les résultats des tests comme justificatifs.”
Connectez Done à votre assistant
Un point d’accès MCP par compte, via OAuth ou un jeton. La configuration pas à pas pour chaque client :