type_and_submit
Enter text into a field and submit by pressing a key (default: Enter). Ideal for search boxes and single-field forms.
Instructions
Type text into a field and press a key (default: Enter). Useful for search boxes and single-field forms.
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": {
"tabId": "<tabId>",
"text": "<text>"
},
"name": "type_and_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Key to press after typing (default: Enter) | Enter |
| ref | No | Element ref from snapshot | |
| text | Yes | Text to type | |
| tabId | Yes | Tab ID from create_tab | |
| selector | No | CSS selector |