# issues.fix

Source: https://docs.lightair.app/developers/remote-api/issues.fix

> Runs one of an issue's fixes: tries a destination again, or stops it.

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 `project.write` permission.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `issue` | `string` | yes | The issue's id, from issues.list. |
| `fix` | `string` | yes | `retry` or `stop`. |

## Result

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

## Errors

A state error (-32005) for an issue with no fix to run. Invalid params (-32602) for an unknown fix.

## Events

- `output.changed`

## From an AI agent

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

## Related

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