Read a datasheet's component twin
datasheetvend_get_component_twinRead the Unified Component Model (UCM) digital twin of one datasheet already extracted with DatasheetVend. Every fact comes with a check ('passed', 'needs_review', 'disagrees', 'failed_sanity_check') and, where the extraction recorded one, its datasheet page, filed where it belongs: pins, whole_part (temperatures, absolute limits, package, ordering code), interfaces_rails (I2C/SPI/clock/ADC requirements and supply-rail values), registers (the register map) and checks. Call it first with no options for the summary, then ask for sections, one pin (by number, name or alternate function) or a search term so the answer stays small. Treat facts that did not pass as unverified and cite their page. Reads stored results only: never extracts, never bills. Needs a DatasheetVend API key; find datasheet names with datasheetvend_list_component_twins. To twin a datasheet the account has not extracted, use datasheetvend_build_component_twin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | No | One pin by number, name or alternate function (for example '27', 'PC4' or 'SDA'): every fact that reaches it — its own and those of its rails and interfaces. | |
| search | No | Only facts whose parameter, symbol, statement or node contains this text, case-insensitive (for example 'storage temperature' or 'TWCR'). With no sections given, searches pins, whole_part, interfaces_rails and registers. | |
| sections | No | Parts of the twin to include besides the summary: pins (each pin's own facts), whole_part, interfaces_rails, registers, checks (disagreements, failed sanity checks, facts to review, facts that name no pin). Omit for the summary only. | |
| datasheet | Yes | The datasheet name exactly as datasheetvend_list_component_twins returns it. A unique part of the name also works. | |
| max_facts | No | Cap on facts returned across the pin and sections (default 200). `truncated` says when it was reached. | |
| only_passed | No | Only facts that passed every check. Default false: every fact comes with its check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes | The requested pin with the facts that reach it, or null when no pin was asked for. | |
| part | Yes | ||
| checks | Yes | ||
| counts | Yes | ||
| places | Yes | ||
| contract | Yes | Contract id: ucm_twin_v1 | |
| sections | Yes | The requested sections: pins, whole_part, interfaces_rails, registers, checks — facts with their check and, where recorded, their page. | |
| warnings | Yes | ||
| datasheet | Yes | ||
| truncated | Yes | ||
| built_from | Yes | ||
| how_to_read | Yes |