{
  "name": "browser_fill",
  "description": "Clear and fill a value into an input element. Unlike browser_type which appends text, this clears the existing value first and sets the new value atomically. Use this when you want to replace the entire content of an input field.",
  "arguments": {
    "type": "object",
    "properties": {
      "element": {
        "type": "string",
        "description": "Human-readable element description used to obtain permission to interact with the element"
      },
      "ref": {
        "type": "string",
        "description": "Exact target element reference from the page snapshot"
      },
      "value": {
        "type": "string",
        "description": "Value to fill into the element (replaces any existing content)"
      },
      "viewId": {
        "type": "string",
        "description": "Target browser tab ID. If omitted, uses the last interacted tab."
      }
    },
    "required": [
      "element",
      "ref",
      "value"
    ]
  }
}