{
  "name": "browser_select_option",
  "description": "Select an option in a dropdown. Matching priority: exact value match, then exact label match, then partial label match. The snapshot now shows available options for select elements.",
  "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"
      },
      "values": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Array of values to select. Matches against option value first, then label text, then partial label. Use exact values from the snapshot options list when available."
      },
      "viewId": {
        "type": "string",
        "description": "Target browser tab ID. If omitted, uses the last interacted tab."
      }
    },
    "required": [
      "element",
      "ref",
      "values"
    ]
  }
}