{
  "name": "browser_take_screenshot",
  "description": "Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.",
  "arguments": {
    "type": "object",
    "properties": {
      "type": {
        "type": "string",
        "description": "Image format for the screenshot. Default is png."
      },
      "filename": {
        "type": "string",
        "description": "File name to save the screenshot to. Defaults to page-{timestamp}.{png|jpeg} if not specified."
      },
      "element": {
        "type": "string",
        "description": "Description of the element, if taking a screenshot of an element"
      },
      "ref": {
        "type": "string",
        "description": "CSS selector for the element, if taking a screenshot of an element"
      },
      "fullPage": {
        "type": "boolean",
        "description": "When true, takes a screenshot of the full scrollable page, instead of the currently visible viewport. Cannot be used with element screenshots."
      },
      "viewId": {
        "type": "string",
        "description": "Target browser tab ID. If omitted, uses the last interacted tab."
      }
    },
    "required": []
  }
}