List available services
services_list_servicesList all Home Assistant services and their fields, optionally filtered by domain, to check what a domain supports before calling a service.
Instructions
List all services Home Assistant currently has registered, optionally filtered by domain.
Calls ha.list_services() (HTTP GET /api/services) and filters the
result client-side by domain when given.
Use when: discovering which services and fields a domain supports before
calling services_call_service.
Returns: list of dicts, one per domain, each with its available services
and their fields.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "services_list_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Service domain filter, e.g. 'light'. Omit to list every domain. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |