Type into element by ref
browser_typeTypes exact text into a page field identified by an observed ref, with an optional Enter press to submit search boxes or forms.
Instructions
Type text into one field by its ref (from browser_observe / browser_find). Free — no model call. Fills the field; submit=true presses Enter afterwards (search boxes usually submit on Enter). Never use for passwords: password fields are not exposed as refs. Returns {ok, detail, page}; after a navigation, re-observe for fresh refs.
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": {
"ref": "<ref>",
"text": "<text>"
},
"name": "browser_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Field ref from a recent observe/find, e.g. "e3". | |
| text | Yes | Exact text to type. | |
| submit | No | Press Enter after typing (default false). |