PinchTab icon

PinchTab

Control a browser via PinchTab — navigate, extract, click, screenshot

Extract Text

AI-generated

Summary

Extract readable text content from a specified browser tab or the active tab if no Tab ID is provided.

Inputs

  • Tab ID — Specify the ID of the tab to extract text from; leave empty to target the currently active tab.
  • Raw Mode — Choose to return raw innerText from the page instead of cleaned and processed text.

Output shape

a single JSON object

Returns a JSON object containing the extracted text from the targeted tab. If Raw Mode is enabled, the text returned is raw innerText; otherwise, it is cleaned text. The output adapts based on whether a Tab ID is specified, targeting that tab or the active tab by default.

Links

Discussion