Type
typeSimulates human-paced text entry into browser fields, including realistic typos and corrections, exact input, scripted key bursts, clearing, submission, and focus checks.
Instructions
Types text at a human pace (about 6 characters a second), clicking into the element first when an id is given. Rare typos are made and corrected at once, as a person would, except in fields where a wrong character matters (passwords, numbers, codes, card fields); exact: true turns them off. Or plays a scripted burst (keys): text, Backspaces, pauses and key presses in order, with no typos of its own. A newline in text is Enter, a tab character Tab.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | An element id from a listing, such as a12. | |
| keys | No | A burst: strings to type, {"bs": n} for n Backspaces, {"pause_ms": n} to stop for n ms, {"press": "Ctrl+I"} for a key or shortcut (a formatting toggle; its key is a named key or one ASCII character). Every press is checked before anything is sent; a step that fails stops the burst, and the answer counts what went out before it. | |
| text | No | What to type. Give text or keys, not both. | |
| clear | No | Select what the field holds first, so the text replaces it. | |
| exact | No | No typos at all. | |
| 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. | |
| speed | No | Pace against this browser's typist: 2 is twice as fast, 0.5 half (default 1). The browser stops at about 110 words a minute, whatever the speed. | |
| submit | No | Press Enter after. | |
| 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. |