# veryfront__finalize

Finalize a run.

Risk: mutating.

## Arguments

| Name              | Type   | Required | Description                                                                                                                                                                                                                                                                                                    |
| ----------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `run_id`          | string |          | Run for a terminal action. A fresh or different terminal request against an already-terminal run or stale execution generation returns 409. Retrying the identical request with the same idempotency key returns its stored result after replay authorization. Defaults to the current execution when omitted. |
| `idempotency_key` | string |          | Retry key for this operation, 1–128 characters. Overrides the HTTP header. If both are omitted, a new key is generated for each call; supply a key to retry safely.                                                                                                                                            |
| `input`           |        | Yes      | Finalizes a run with output or an error.                                                                                                                                                                                                                                                                       |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__finalize",
    "arguments": {
      "input": "<input>"
    }
  }
}
```
