dashbrr_plex
Create and poll a Plex authentication PIN to complete Plex login, or retrieve active Plex playback sessions for a Dashbrr instance.
Instructions
dashbrr plex operations on Dashbrr. Pass operation and an arguments dict matching that operation's parameters.
dashbrr_create_plex_pin() — Start a Plex authentication flow: create a Plex PIN. Returns the pin id and code; poll it with dashbrr_get_plex_pin until it carries an authToken.
dashbrr_get_plex_pin(pin_id) — Poll the status of a Plex PIN created with dashbrr_create_plex_pin. Once the pin has been authorised (has an authToken), the Plex auth flow is complete.
dashbrr_get_plex_sessions(instance_id) — Active Plex playback sessions.
instance_idmust be type-prefixed, e.g.plex-main.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation": "<operation>"
},
"name": "dashbrr_plex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | No | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |