{
  "name": "browser_wait_for",
  "description": "Wait for text to appear or disappear, or wait a specified time. Note: time is in SECONDS, not milliseconds.",
  "arguments": {
    "type": "object",
    "properties": {
      "time": {
        "type": "number",
        "description": "Time to wait in SECONDS (e.g., 2 for 2 seconds, 0.5 for 500ms). Use for fixed delays."
      },
      "text": {
        "type": "string",
        "description": "Wait for this text to appear on the page."
      },
      "textGone": {
        "type": "string",
        "description": "Wait for this text to disappear from the page."
      },
      "timeout": {
        "type": "number",
        "description": "Maximum time to wait for text conditions in MILLISECONDS. Defaults to 30000 (30 seconds)."
      },
      "viewId": {
        "type": "string",
        "description": "Target browser tab ID. If omitted, uses the last interacted tab."
      }
    },
    "required": []
  }
}