MCP Web Browser Server
by random-robbie
Verified
extract_text_content
Copy
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
Name | Required | Description | Default |
---|---|---|---|
context | No | ||
selector | No |
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"
}