ha.call_service
Invoke any Home Assistant service by domain and service with optional data to run advanced automations and custom device actions.
Instructions
Call any Home Assistant service (escape hatch for advanced automation).
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 | ||
| domain | Yes | ||
| service | Yes |