List Available Services
ha_list_servicesDiscover and list available Home Assistant services to call, with domain filtering, search, pagination, and detail control for targeted service discovery.
Instructions
List available Home Assistant services with optional pagination and detail control.
Discovers services/actions that can be called via ha_call_service.
EXAMPLES:
Light services with full parameter details: ha_list_services(domain="light", detail_level="full")
Search: ha_list_services(query="temperature")
Next page: ha_list_services(offset=50)
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 |
|---|---|---|---|
| limit | No | Max services to return per page | |
| query | No | Search in service names and descriptions. | |
| domain | No | Filter by domain (e.g., 'light', 'switch', 'climate'). | |
| fields | No | Return only the specified top-level response keys to reduce response size (e.g. ["services"]). None = full response. Available keys: success, domains, services, total_count, count, offset, limit, has_more, next_offset, detail_level, filters_applied. | |
| offset | No | Number of services to skip for pagination | |
| detail_level | No | 'summary': name, description, domain, service, target and response when the service returns data. 'full': additionally include parameter field schemas. | summary |
| service_fields | No | Project each service record to only the specified keys. E.g. ["name", "description"] returns slim service records. None = full records. Unknown keys yield empty records. Available keys: name, description, domain, service, target (when present), response (when present), fields (full mode only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||