ha_service
Call any Home Assistant service to control smart home devices. Specify domain, service, and data to trigger actions like turning on switches or setting temperatures.
Instructions
Call any Home Assistant service (e.g. switch/turn_on, climate/set_temperature).
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>",
"data": "<data>"
},
"name": "ha_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Service data payload (must include entity_id) | |
| domain | Yes | Service domain (e.g. 'switch', 'climate', 'scene') | |
| service | Yes | Service name (e.g. 'turn_on', 'set_temperature') |