Press a key
cotlet_browser_pressPresses a key on the focused element: Enter to send, Tab to the next field, Escape to close a pop-up, arrows in a list or slider, or one character (a site's shortcut). Answers the page after it (elements and text in view).
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": "cotlet_browser_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Leave out. Only an app slug cotlet_app_guide names. | |
| key | Yes | One of Enter, Tab, Shift+Tab, Escape, Backspace, Delete, Space, ArrowDown, ArrowUp, ArrowLeft, ArrowRight, PageDown, PageUp, Home, End, or one character such as a or 5. | |
| tab | No | Tab id of the last answer. | |
| dialog | No | A native dialog this step opens. Default: accept an alert. | |
| repeat | No | Times to press it. Default 1. | |
| dialog_text | No | Prompt dialog text. |