ha_call_service
Control Home Assistant devices by calling services for lights, climate, media players, switches, and other entities with a domain, service, and optional data payload.
Instructions
Call any Home Assistant service to control lights, climate, media players, switches, etc.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"service": "<service>"
},
"name": "ha_call_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Service payload (entity_id, temperature, etc.) | |
| domain | Yes | e.g. light, climate, switch, automation | |
| service | Yes | e.g. turn_on, set_temperature |