Call any Home Assistant REST path
ha_call_apiCall any Home Assistant REST endpoint under /api when no dedicated tool exists. Supports GET, POST, and DELETE with optional JSON body.
Instructions
Call any REST endpoint under /api for cases without a dedicated tool, e.g. GET /api/components, GET /api/events, POST /api/config/core/check_config, GET /api/calendars/... . Args: method (GET|POST|DELETE), path (must start with /api and may include a query string), body (optional JSON). Prefer the dedicated tools when one exists; this one cannot bypass their guards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST | |
| path | Yes | Path starting with /api, e.g. "/api/components" | |
| method | No | GET |