playwright_extract_text
Extracts text content from web page elements using a CSS selector, optionally gathering text from all matching elements.
Instructions
Extract text content from elements
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": "playwright_extract_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| multiple | No | Extract from all matching elements | |
| selector | Yes | CSS selector of element(s) |