Tuanjie Input Simulator
unity_inputSimulate mouse, keyboard, and virtual input in Play Mode. Perform clicks, moves, drags, scrolls, key presses, and typing to automate interaction testing.
Instructions
Simulates mouse, keyboard, and virtual input devices, primarily in Play Mode. Supported actions: mouse_click, mouse_move, mouse_drag, mouse_scroll, mouse_down, mouse_up, key_press, key_down, key_up, type_text, create_virtual_devices, destroy_virtual_devices. Additional action-specific parameters are passed through unchanged.
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": {
"action": "<action>"
},
"name": "unity_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes |