# widgets.list

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

> Lists the widgets running in the show, with their kind.

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

## Parameters

None.

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `widgets` | `{ id: string, kind: string }[]` | no | The widgets. |
| `session` | `object` | no | The stream session's totals. |

## Errors

Fails (-32000) when widgets aren't available.

## From an AI agent

The MCP server's `widgets (action: list)` reaches this method.

## Related

- [widgets.button](https://docs.lightair.app/developers/remote-api/widgets.button.md)
- [widgets.test](https://docs.lightair.app/developers/remote-api/widgets.test.md)
