fill
Type text into a form field using a snapshot ref or CSS selector, firing input and change events as a person would; returns true on success and fails for missing matches or stale refs.
Instructions
Type value into a form field: a ref from snapshot or the first match
of a CSS selector (its input and change events fire, as when a person
types). Returns true; fails when nothing matches or the ref is stale.
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": {
"target": "<target>",
"value": "<value>"
},
"name": "fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Text to put in the field. | |
| target | Yes | A ref from the last `snapshot`, e.g. `e12`, or a CSS selector, e.g. `#price`, `form input[name=q]`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |