cdp_read
Extract text, element content, or attributes from web pages using CSS selectors to retrieve specific data for automation and analysis.
Instructions
Read content from the page: full page text, element text, attributes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cdp_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | What to read (default: page) | |
| selector | No | CSS selector for element | |
| attribute | No | Attribute name to read |