# clip.save

Source: https://docs.lightair.app/developers/remote-api/clip.save

> Saves a clip of the last moments from the clip buffer.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Recording and clips. Script plugins need the `outputs.control` permission.

The `clip.saved` event gives its path at once, then its Library id, length, formats and a small picture once the Library has it.

## Parameters

None.

## Errors

A state error (-32005) when clips are off: turn them on in Outputs.

## Events

- `clip.saved`

## From an AI agent

The MCP server's `save_clip` reaches this method.

## Related

- [clip.status](https://docs.lightair.app/developers/remote-api/clip.status.md)
- [clips.list](https://docs.lightair.app/developers/remote-api/clips.list.md)
