simulate_mouse_click
Simulates mouse button press or release at a screen position in the running Godot game, enabling automated input testing and interactions.
Instructions
Simulate a mouse button click in the running game.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "simulate_mouse_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | No | Mouse button index (1=left, 2=right, 3=middle) | |
| pressed | No | true = press, false = release | |
| position | No | Screen position |