Send Mouse Event
send_mouseSend mouse events to terminal user interface applications by specifying coordinates, actions, and buttons for automated testing and interaction.
Instructions
Send a mouse event to the TUI app (if the app has mouse support enabled).
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": {
"sessionId": "<sessionId>",
"action": "<action>",
"x": "<x>",
"y": "<y>"
},
"name": "send_mouse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID | |
| action | Yes | Mouse action type | |
| x | Yes | Column position (0-based) | |
| y | Yes | Row position (0-based) | |
| button | No | Mouse button: "left", "middle", "right" for press/release; "up", "down" for scroll (default: "left") |