Fill
fillEnter text or values into input, textarea, contenteditable, or labelled fields using CSS, text, role, testid, XPath, or label selectors.
Instructions
Fill an input, textarea, contenteditable, or labelled field.
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>",
"value": "<value>"
},
"name": "fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| pageId | No | Page id. Defaults to the active page. | |
| selector | Yes | CSS selector, text=..., role=button[name="Save"], testid=..., xpath=..., or label=... | |
| timeoutMs | No | Operation timeout in milliseconds. |