gmod_send_keys
Send simulated keyboard input to a Garry's Mod window on Windows using SendKeys syntax, including special keys and modifiers. Useful for automating in-game console commands or UI actions.
Instructions
[Windows only] Отправить нажатия клавиш в окно Garry's Mod. Формат SendKeys: {ENTER}, {ESCAPE}, {TAB}, + (Shift), ^ (Ctrl), % (Alt). Пример: 'status{ENTER}'
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": {
"keys": "<keys>"
},
"name": "gmod_send_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Строка клавиш в формате SendKeys. Спецклавиши: {ENTER}, {ESCAPE}, {TAB}, {BACKSPACE}, {DELETE}, {UP}, {DOWN}, {LEFT}, {RIGHT}, {F1}-{F12}. Модификаторы: + (Shift), ^ (Ctrl), % (Alt). |