fill
Replaces the content of a web element matched by a CSS selector, enabling programmatic form completion and data entry.
Instructions
Quick filling (direct replacement)
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 Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| timeout | No | ||
| selector | Yes |