game_scroll
Simulates mouse scroll wheel events at specified coordinates, letting AI assistants control Godot UI or gameplay by scrolling up, down, left, or right with a chosen amount.
Instructions
Send mouse scroll wheel event at position
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": {
"x": "<x>",
"y": "<y>"
},
"name": "game_scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position for scroll event | |
| y | Yes | Y position for scroll event | |
| amount | No | Scroll amount (clicks). Default: 1 | |
| direction | No | "up", "down", "left", or "right". Default: "up" |