Extract schema-validated fields
tab_extract_structuredExtract up to 30 typed fields from a live page using CSS selectors, validate them against JSON Schema draft-07, and return each value with source URL, selector, and quote provenance.
Instructions
Read named fields from observed DOM using selectors, validate strict JSON Schema draft-07, and return per-field source URL/selector/quote provenance. Supports text, attributes, current non-sensitive values, typed scalars and arrays. At most 30 fields, 20 matches per field, 100 total. Does not call a model or infer missing facts; hidden/password controls and truncated evidence are rejected.
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>",
"schema": "<schema>",
"fields": "<fields>"
},
"name": "tab_extract_structured"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| schema | Yes | ||
| session_id | Yes | Session ID returned by tab_open. |