← Tous les outils MCP

End run

end_run
Écriture

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

NomTypeObligatoireDescription
idstringObligatoire

Task id

run_idstringObligatoire

The run id returned by start_run

tool_callsnumberFacultatif

How many tool calls this run made

tokensnumber | nullFacultatif

Tokens spent, if you track them

summarystring | nullFacultatif

Short note on what the run did

outcomestringFacultatif

Defaults to completed

Valeurs autoriséescompletedfailed
receiptsobject[]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[].kindstringObligatoire
Valeurs autoriséescommitcitestdocurl
receipts[].labelstringObligatoire

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

receipts[].urlstring | nullFacultatif

Where to go and check it

receipts[].detailstring | nullFacultatif

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 seulereadOnlyHint: false
Modifie des données de votre compte Done.
DestructifdestructiveHint: false
Ajoute ou lit seulement ; rien de ce qui existe n’est supprimé ni écrasé.
IdempotentidempotentHint: false
Chaque appel peut ajouter quelque chose de nouveau : un commentaire, une exécution, une tâche.
Monde ouvertopenWorldHint: 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 :

Vue d’ensemble de la configuration MCP →