Press a button entity
services_press_buttonPress a Home Assistant button entity to run its configured action via button.press and return changed states.
Instructions
Press a button entity, running whatever action it is configured to perform.
Calls button.press with {"entity_id": entity_id} over HTTP.
Use when: running a button entity's configured action, such as a template button or a device's physical-button equivalent. Returns: the list of states changed by the press.
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": {
"entity_id": "<entity_id>"
},
"name": "services_press_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Full button entity ID to press, e.g. 'button.restart_service'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |