get_button_mapping
Retrieve button-to-command mappings for an activity, remote, or device. Specify scope and scope ID to get bindings.
Instructions
Physical-button -> command bindings. scope is 'activity' (needs scope_id=activity_id), 'remote' (needs scope_id=remote entity_id), or 'device' (needs scope_id=target entity_id; returns every binding across all activities and remotes that targets that device).
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": {
"scope": "<scope>"
},
"name": "get_button_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| scope | Yes | ||
| scope_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||