mouse_set
Assign a mouse trigger, such as wheel-up or gesture-left, to a player action, or pass "none" to disable it. Lets distinct mouse inputs share the same action.
Instructions
Point a mouse trigger at an action. Unlike keys, two triggers may share an action — wheel-up and drag-up both raising volume is fine, since the inputs are distinct. Pass "none" as the action to disable a trigger.
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": {
"trigger": "<trigger>",
"action": "<action>"
},
"name": "mouse_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action id from keybind_list, or "none" | |
| trigger | Yes | Trigger id from mouse_list, e.g. wheel_up, gesture_left |