Key code lookup
get_keycodeReturns the values a key reports in a browser key event: key, code, keyCode, which and location. Accepts a key name such as Enter or Shift, or one character on a US keyboard, and lists the left, right and number-pad variants.
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": {
"key": "<key>"
},
"name": "get_keycode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | A key name such as Enter, Shift, F5 or Arrow Up, or one character such as A, 7 or /. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| view | Yes |