← Todas las herramientas MCP

End run

end_run
Escritura

Qué hace

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.

Parámetros

NombreTipoObligatorioDescripción
idstringObligatorio

Task id

run_idstringObligatorio

The run id returned by start_run

tool_callsnumberOpcional

How many tool calls this run made

tokensnumber | nullOpcional

Tokens spent, if you track them

summarystring | nullOpcional

Short note on what the run did

outcomestringOpcional

Defaults to completed

Valores permitidoscompletedfailed
receiptsobject[]Opcional

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[].kindstringObligatorio
Valores permitidoscommitcitestdocurl
receipts[].labelstringObligatorio

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

receipts[].urlstring | nullOpcional

Where to go and check it

receipts[].detailstring | nullOpcional

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

Anotaciones

Las pistas que el servidor envía con esta herramienta. Un cliente las lee para decidir si te pregunta antes de llamarla.

Solo lecturareadOnlyHint: false
Cambia datos de tu cuenta de Done.
DestructivadestructiveHint: false
Solo agrega o lee; no quita ni sobrescribe nada de lo que ya existe.
IdempotenteidempotentHint: false
Cada llamada puede agregar algo nuevo, como un comentario, una ejecución o una tarea.
Mundo abiertoopenWorldHint: false
Solo toca tu propia cuenta de Done.

Qué tokens pueden llamarla

Una conexión hecha con OAuth tiene acceso completo. Un token de Ajustes → Acceso de agentes → Tokens de MCP adicionales se puede acotar, y un token acotado nunca ve más allá de su proyecto o espacio de trabajo.

  • Acceso completoPermitido
  • Token de solo lecturaRechazado
  • Token de un proyectoRechazado
  • Token de un espacio de trabajoPermitido

Pruébala

Con Done conectado, pídele a tu asistente algo como:

“Cuando termines, cierra la ejecución con el commit y los resultados de las pruebas como comprobantes.”

Conecta Done a tu asistente

Un endpoint MCP por cuenta, con OAuth o con un token. Configuración paso a paso para cada cliente:

Resumen de la configuración de MCP →