extract_tab
Extract structured data from the current page in a browser tab using a JSON schema. Returns only the specified fields as JSON, with missing values as null.
Instructions
Extract structured data from the CURRENT page in an open tab according to a
JSON Schema, using the same whole-page chunk-and-merge extractor as
extract, but reading the live tab instead of opening a URL. Use this for
named fields on a page you have navigated or interacted your way to.
Args:
tab_id: The handle from open_tab.
schema: A JSON Schema describing the fields to extract (same shape as
for extract).
Returns: A JSON string with the extracted fields; missing fields are null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | ||
| schema | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |