api_homeassistant_light_control
Control one explicitly specified light entity on customer-owned Home Assistant via authorized bearer token, for routine on/off only. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
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": {
"cloud_host": "<cloud_host>",
"entity_id": "<entity_id>",
"action": "<action>"
},
"name": "api_homeassistant_light_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Exactly on or off | |
| entity_id | Yes | Light entity id matching light.[a-z0-9_]+ | |
| cloud_host | Yes | Customer remote hostname ending .ui.nabu.casa |