browser_get_text
Extract text content from any webpage element by providing its CSS selector. Use this to get data from specific sections without the full HTML.
Instructions
Get text content from an element (see browser_docs)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "browser_get_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Playwright selector for the element |