Extract data from the current page
browser_extractUse for: pulling repeated elements (prices, titles, links) from the page a session is on, via a CSS selector, or the full page text when no selector is given. Returns one string per matched element. Don't use when: the page has not been loaded yet — call browser_navigate first. Paid: $0.005 per call via x402 (Base USDC, Solana USDC, or XRPL XRP).
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": {
"session_id": "<session_id>"
},
"name": "browser_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector to extract. Omit for full page text. | |
| attribute | No | Attribute to read instead of text, e.g. href or src. | |
| session_id | Yes | Session ID. Reuse the same ID to keep cookies, login state and page position across calls; a new ID starts a fresh browser. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| results | Yes |