Fill a field
browser_fillFill an ordinary text field using a snapshot ref. Passwords, one-time codes, and payment details are refused; use browser_handoff instead.
Instructions
Replace the value of an ordinary text field. Never use for passwords, one-time codes or payment details: those fields are refused and the user must fill them (use browser_handoff).
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": {
"context_id": "<context_id>",
"observation_id": "<observation_id>",
"ref": "<ref>",
"value": "<value>"
},
"name": "browser_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Short ref such as e3 from that snapshot. | |
| value | Yes | Text to set. | |
| context_id | Yes | Context id from browser_contexts, for example tab:12. | |
| request_id | No | Stable id for this logical action. Reuse the SAME id to retry or reconcile it; never reuse it for a different action. Omit to have one generated and returned. | |
| observation_id | Yes | observation_id from the browser_snapshot that produced ref. | |
| browser_instance_id | No | Only needed when several Firefox profiles are connected. |