fill_text
Fills an input, textarea, or contenteditable element with specified text using a CSS selector. Supports optional Chrome tab targeting.
Instructions
Fill an input, textarea, or contenteditable element.
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector for the editable element. | |
| text | Yes | Text to fill. | |
| tabId | No | Optional Chrome tab id. Defaults to the first page tab. |