List services
ha_list_servicesRetrieve callable Home Assistant services and their input parameters. Use it to determine which fields to pass to ha_call_service, optionally filtered by a single domain.
Instructions
List callable Home Assistant services. Without a domain, returns every domain and its service names. With a domain, returns that domain's services including their fields/parameters so you know what data to pass to ha_call_service.
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": "ha_list_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Restrict to one domain, e.g. 'light'. | |
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. |