# output.retry

Source: https://docs.lightair.app/developers/remote-api/output.retry

> Tries a destination again now: a live or reconnecting one restarts, a failed one starts.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Outputs. It changes what viewers see or hear. Script plugins need the `outputs.control` permission.

An AI agent connected over MCP asks the person first, unless **AI agents may go live without asking** is on in **Settings › Remote API**. Other clients aren't asked.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `output` | `string` | yes | A destination's id or name. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `retrying` | `boolean` | no | true. |

## Errors

Not found (-32004) for an unknown destination. A state error (-32005) when it's neither running nor failed, or has no stream key saved.

## Events

- `output.changed`

## From an AI agent

The MCP server's `outputs (action: retry)` reaches this method. Because it changes what viewers see or hear, Lightair can ask the person first.

## Related

- [output.cancel](https://docs.lightair.app/developers/remote-api/output.cancel.md)
- [issues.fix](https://docs.lightair.app/developers/remote-api/issues.fix.md)
