Press keys
pressSends single keys or key chords to the Chromaphore browser, with optional repetition and focus validation, to trigger shortcuts, navigate, and complete form actions.
Instructions
Presses a key or a chord: Enter, Escape, Tab, ArrowDown, Ctrl+A, Shift+Tab, Ctrl+Shift+Left, F5. The key is a named key or one ASCII character; type other characters with type. With times, again and again as a person does.
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": "press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| quiet | No | Answer without the changed elements (what opened on top, the focus and announcements stay); for pages such as Google Docs where every key changes much of the listing. | |
| times | No | ||
| expect_focus | No | Send nothing unless this element has the keyboard focus right before the first key (in Google Docs, the "Document content" textbox); a refusal names what has the focus. On a Chromaphore newer than release 2.0.0, type also stops when the focus leaves it midway and says what went out; older builds check once and cannot read a frame of another site or origin. |