type_into
Type text into a form field in an open browser tab using the element reference, with an option to submit the form by pressing Enter after typing.
Instructions
Type text into a form field in an open tab, by its ref.
Args: tab_id: The handle from open_tab. ref: The field's element ref, e.g. "e7", from the latest read_tab. text: The text to type. submit: If true, press Enter after typing, which submits most search boxes and simple forms in one step. If the form needs a button instead, leave this false and click the submit button's ref.
Returns: JSON with the resulting url and fresh ref count.
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": {
"tab_id": "<tab_id>",
"text": "<text>"
},
"name": "type_into"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | ||
| text | Yes | ||
| ref | No | ||
| submit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |