fill_input
Types text into a page's text, select, date, time, range, or color field—replacing or appending content—and triggers the page's input handlers.
Instructions
Types into a text field, textarea or contenteditable, replacing its content (or after it with append), key by key so the page's handlers run (~1 ms per character); picks the option(s) named; sets a date, time, range or colour input (YYYY-MM-DD, HH:MM, a number, #rrggbb). Fails without typing on disabled, read-only, non-text or unfocusable elements and when the field rejects the text; notes a reformatted value. For several fields at once use fill_form.
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": {
"selector": "<selector>",
"text": "<text>"
},
"name": "fill_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type, or a `<select>` option's value or label (`<select multiple>`: one per line, exactly those selected). | |
| append | No | Type the text at the end of the current content instead of replacing it. Default: false. | |
| tab_id | No | Default: the active tab. | |
| selector | Yes | CSS selector, 'host >>> inner' (into an open shadow root or same-origin iframe) or snapshot ref (e12). | |
| instance_id | No | Default: 'default'. |