MCP Web Browser Server

by random-robbie
Verified

extract_text_content

Extract text content from the current page, optionally using a CSS selector. Args: selector: Optional CSS selector to target specific elements context: Optional context object for logging (ignored) Returns: Extracted text content

Input Schema

NameRequiredDescriptionDefault
contextNo
selectorNo

Input Schema (JSON Schema)

{ "properties": { "context": { "anyOf": [ {}, { "type": "null" } ], "default": null, "title": "Context" }, "selector": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Selector" } }, "title": "extract_text_contentArguments", "type": "object" }