albyhub_proxy_request
Proxy any HTTP method and path to the Alby Hub admin API, returning status, headers, and parsed JSON body when no dedicated tool exists.
Instructions
Generic HTTP proxy to your Alby Hub admin API. Use this when no typed convenience tool exists for the endpoint you need. Returns the response status, headers, and (JSON-parsed when possible) body. Non-GET methods are gated by ALBYHUB_READ_ONLY and ALBYHUB_REQUIRE_CONFIRM. Pair with the Hub's own docs to discover endpoints; the typed wrappers (get_node_info, list_apps, get_balances) are layered on top of this and good defaults to start with.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body — passed as JSON if an object, raw if a string. Ignored for GET/HEAD/OPTIONS. | |
| path | Yes | Path on the Hub, e.g. `/api/info` or `/api/channels`. Combined with ALBYHUB_URL. | |
| query | No | Query-string params (string → string). | |
| method | Yes | HTTP method. GET/HEAD/OPTIONS are always allowed; others gated by READ_ONLY + REQUIRE_CONFIRM. | |
| timeout_ms | No | Request timeout in ms (default 15000, max 60000). | |
| extra_headers | No | Extra HTTP headers to merge in. Useful if your Hub expects `X-API-Key` instead of `Authorization: Bearer`. |