Smithery

extract_elements

Extract specific elements from a web page using CSS selectors.

Remote smithery-ai/fetch

Other tools also called extract_elements? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "The URL to fetch"
    },
    "limit": {
      "type": "number",
      "default": 10,
      "description": "Maximum number of elements to return"
    },
    "selector": {
      "type": "string",
      "description": "CSS selector to find elements (e.g., 'img', '.class', '#id', 'link[rel*=\"icon\"]')"
    },
    "attribute": {
      "type": "string",
      "description": "Optional attribute to extract from elements (e.g., 'href', 'src', 'alt')"
    }
  }
}