# automation.list

Source: https://docs.lightair.app/developers/remote-api/automation.list

> Lists every automation, the ready-made recipes, the global variables and the latest runs.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Automations. Script plugins need the `project.read` permission.

## Parameters

None.

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `automations` | `object[]` | no | Every automation. |
| `recipes` | `{ key: string, name: string, about: string }[]` | no | Recipes to start from. |
| `vars` | `object` | no | The global variables. |
| `runs` | `object[]` | no | The latest runs (up to 30), newest first, with what each step did. |

## From an AI agent

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

## Related

- [automation.set](https://docs.lightair.app/developers/remote-api/automation.set.md)
- [automation.run](https://docs.lightair.app/developers/remote-api/automation.run.md)
